Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 99018

Python selenium handle key pressed

$
0
0

I'm trying to make an automation program, and it tries to run another logic before sending a specific key to chrome driver.

For example,

  1. A GUI program opens a browser and waits the user input from the browser.

  2. When user inputs a specific keys like 'ENTER' or 'F1', then it shows a popup and changes the page finally.

  3. User can input any keys like 'asdf' on browser, but it won't lead page movement.

So, what I want to do is,

: Can I get the chrome driver waited for the specific key event before running the custom logic?

Thank you for reading.


Viewing all articles
Browse latest Browse all 99018

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>