Target Frame Detached

Hello Everyone,

I hope all of you are having a great day.

I am trying to click the highlighted toggle below in the image but an error occurs as “Target Frame Detached”

I do not understand what exactly the problem is because I cannot find any iFrames in here, or have I missed how some iFrames represent themselves?

Any support would be highly appreciated.

I tried a normal click and then a JSE as below, both failed.

    toggle = browser.find_element(By.XPATH, "//span[@class='dig-Toggle-track']")
    browser.execute_script("arguments[0].click();", toggle)

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.