python - How can I stop Firefox from hanging after clicking a link? -
Webdriver Python binding v2.39.0 firefox 27.0 (but the issue is also reproduced with Firefox 'latest', Firefox 26.0 and Firefox 27.0) In the code below, the execution hits I'm not sure that I have permission to post HTML for the problem page but I can be able to communicate it with my team. This very code is used to work completely with the same element which is now causing problems. I was suspicious that there was something to do with upgrading the auto firefox, but downgrading has not solved this problem (please see the section I've tried for more details and things about the things I've tried) Def wait_and_click (obj_id, timeout = global_timeout, locator_attribute = 'id'): print ('wait for' + obj_id) obj = WebDriverWait (driver, timeout) .until (EC. Element_to_be_clickable ('eval' ('+ locator_attribute', obj_id))) print (" Obj.click () about the object to click about "return" (about "wait_and_click") to return obj Things I've tried: Hey, such a frustrating thing Adhan is -. It seems that this was due to the Skype toolbar that was automatically installed with the latest Firefox upgrade It's worth noting that it will not go away easily if you go to Firefox Are - & gt; Extension, it only allows you to disable it. You have to go to 'Programs and Facilities' and uninstall it from there. After that, it worked like a charm! FFS Microsoft !! obj.click () for a link on a certain page, the browser is hanging. If the script is killed with Ctrl + C in Terminal (windows), the browser hangs out if it is left on your device, then the browser will hang indefinitely.
Comments
Post a Comment