InterruptedException: sleep interrupted in Selenium using Saucelabs -


i encounter exception during batch run.

i've catch interruptedexception call thread.currentthread.interrupt().

how can rid of sleep interrupted?

i encountered randomly in webdriverwait. don't know why happens.

public boolean iselementvisible(webelement webelement) {      boolean isvisible = false;     try {         log.info(check_if_element_is_visible);         webdriverwait wait = new webdriverwait(driver,          commonconstants.default_timeout_implicitwait);         wait.until(expectedconditions.visibilityof(webelement));         isvisible = true;     } catch (exception e) {         log.error(element_not_found, e);     }     return isvisible; } 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -