Purpose of setEnableNativeEvents

111 views
Skip to first unread message

Shubhangi Karawande

unread,
Mar 25, 2015, 5:20:37 PM3/25/15
to webd...@googlegroups.com
Hi,
 
    Can anybody tell me what is purpose of setEnableNativeEvents in following code

        FirefoxProfile fProfile=new FirefoxProfile();
        fProfile.setEnableNativeEvents(false);
        selenium = new ElementSelenium(fProfile);

  Waiting for reply

Thanks,
Shubhangi

Ravi Mundhe

unread,
Mar 25, 2015, 9:54:21 PM3/25/15
to webd...@googlegroups.com
Hi,


Purpose is enabling UI element that are disabled in Firefox [Browsers] you can use bellow code for enable..... then you can assess UI element:

FirefoxProfile profile = new FirefoxProfile();
profile.setEnableNativeEvents(true);
WebDriver driver = new FirefoxDriver(profile);


Thanks,
-Ravi


--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webdriver+...@googlegroups.com.
To post to this group, send email to webd...@googlegroups.com.
Visit this group at http://groups.google.com/group/webdriver.
For more options, visit https://groups.google.com/d/optout.



--

Thanks & Regards
Ravi S. Mundhe


Reply all
Reply to author
Forward
0 new messages