page-modeller icon indicating copy to clipboard operation
page-modeller copied to clipboard

Python 3 support

Open psychicpuppy opened this issue 4 years ago • 3 comments

It would completely great if page-modeller supported Python3

psychicpuppy avatar Jul 02 '20 21:07 psychicpuppy

Hi @psychicpuppy, thanks for your interest... what exactly would you like supported with Python 3?

danhumphrey avatar Jul 12 '20 23:07 danhumphrey

It would be great if Page Modeler “scan page” would produce Selenium/Python code. Currently I start with the Java code it generates and then convert it manually. It’s not awful but it is a bit tedious.

-Chris

On Jul 12, 2020, at 7:47 PM, Dan Humphrey [email protected] wrote:

 Hi @psychicpuppy, thanks for your interest... what exactly would you like supported with Python 3?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

psychicpuppy avatar Jul 14 '20 02:07 psychicpuppy

Hi Chris,

Thanks for the clarification.

I'm happy to implement this, however, I don't personally use Python 3 / Selenium so if you would like to speed this up, could you please supply me with the example code covering all element types:

  • A (link) and BUTTON elements (clickable)
  • text only - e.g. P or SPAN tags (get text)
  • INPUT (type=text) and TEXTAREA elements
  • SELECT elements
  • INPUT (type=radio) and INPUT (type=checkbox) elements

This would really speed up the implementation.

Thanks, Dan

danhumphrey avatar Jul 14 '20 10:07 danhumphrey