N
N
NickTheBuilder2019-07-28 10:52:49
Python
NickTheBuilder, 2019-07-28 10:52:49

How to switch to frame using selenium(python)?

5d3d547b91f70931470474.png
Good afternoon!
To the point.
On the site https://honorcup.ru/quiz/frame/ , you need to parse information from the frame (you won’t be able to go to the frame right away, you have to register.
I know how to work with selenium on regular pages, but there were problems, you need to press the buttons in the frame, but I can't figure out how to do
it.I can only access the button via class_name.Button
"Fight for the cup"
I used the following code, but nothing happens

wait = WebDriverWait(browser, 30).until(EC.frame_to_be_available_and_switch_to_it(0))

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question