I am using selenium to open a page and click on a bottom, first of all I use following code to open page and change ifram:
driver.get(URL_1)
driver.switch_to.frame('ifram1')
after click item inside this page I directed to another page and I need to click on botton
I can’t click using any method like driver.find_element(BY.XPATH)
or driver.find_element(BY.ID)
or any other method.
I think in new page I had to change to new ifram
but it is not possible
Can anyone help on this issue? Any think I had to consider?