Iczer Posted April 11, 2015 Share Posted April 11, 2015 I need function to wait some time after "onselectstart event and then succesfully return without doing anything - to not disturb process of selection _IEHeadInsertEventScript($oIE, "document", "onselectstart", "document.setTimeout( , 3333); return true") but this do not wait - is there is "sleep(timeout)" equivalent in java script? Link to comment Share on other sites More sharing options...
Danp2 Posted April 11, 2015 Share Posted April 11, 2015 Can you explain why you need this? What is the website that you are interacting with? Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Iczer Posted April 11, 2015 Author Share Posted April 11, 2015 i'm interact with embedded IE and i'm change focus after mouse entering ListView frame. But if selection is made in this moment, its failing because of change focus, so i want to wait some time to let selection be successful. Link to comment Share on other sites More sharing options...
Danp2 Posted April 11, 2015 Share Posted April 11, 2015 Post some sample code that demonstrates the issue you are trying to address. Latest Webdriver UDF Release Webdriver Wiki FAQs Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now