Y
Y
yunikeil2022-02-12 06:00:55
Python
yunikeil, 2022-02-12 06:00:55

How to send your command to the console (F12) using python and selenium?

It is required to send a certain command through the chromedriver console, for example, the addition of two numbers.
In the selenium documentation, I found only viewing and saving logs.
6207224a1ba3d078851875.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2022-02-12
@SoreMix

If you need to execute the script and return the result -driver.execute_script()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question