Jump to content
Sign in to follow this  

_FF focus on texbox

Recommended Posts



I'm trying to make a bot to make my job easyer, it is suposed to aumatically check and e-document status and do actions acording to its state. I know is kinda complex and i'm a begginer. The hardes of all is that the app is vaadin based and i cant use mouse position to make actions, so i must head to sourcecode.

My first problem starts at loging-in

i want to focus and clear the text field identified as "<input class="v-textfield v-textfield-borderless borderless v-textfield-prompt" type="text">"

its unique elector is ".v-horizontallayout > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) > input:nth-child(1)"

any help or advise?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this