Answer the question
In order to leave comments, you need to log in
Python + Selenium, how to switch to window?
I insert the text into the input, it is inserted as a comment (you can see it on the screen)
Everything is fixed when I manually click on it or in the field near it, before that the cursor blinks in the address bar.
.click() function doesn't help
Answer the question
In order to leave comments, you need to log in
I immediately see several solutions:
1. Try to throw a script on sikuli and then look at the reason, partially add a script to your Selenium
2. We will test one script on it with Selenium IDE. It has an envelope function in python code
3. Just check what request is being sent in Developer Tools, and based on it, fix the script in Selenium.
something like this
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question