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

html - How to custom Bootstrap grid height? -

javascript - pass values from mssql to views in node -

image - python get coordinates (pixels) of corresponding points from clicks -