Revision 9da7b3ec
Added by Andreas Kohlbecker over 12 years ago
modules/cdm_dataportal/test/java/dataportal-selenium-tests/src/main/java/eu/etaxonomy/dataportal/selenium/WebDriverFactory.java | ||
---|---|---|
76 | 76 |
|
77 | 77 |
WebDriver driver; |
78 | 78 |
|
79 |
CdmDataPortalTestBase.logger.info(("firefox binary:" + System.getProperty("webdriver.firefox.bin"))); |
|
79 |
CdmDataPortalTestBase.logger.info(("fwebdriver.firefox.bin = " + System.getProperty("webdriver.firefox.bin"))); |
|
80 |
CdmDataPortalTestBase.logger.info(("webdriver.firefox.library.path = " + System.getProperty("webdriver.firefox.library.path"))); |
|
80 | 81 |
|
81 | 82 |
FirefoxProfile firefoxProfile = new FirefoxProfile(); |
82 | 83 |
try { |
... | ... | |
89 | 90 |
|
90 | 91 |
firefoxProfile.addExtension(CdmDataPortalTestBase.class, "/org/mozilla/addons/firexpath-" + FIREXPATH_VERSION + "-fx.xpi"); |
91 | 92 |
|
92 |
firefoxProfile.setEnableNativeEvents(true); |
|
93 | 93 |
|
94 | 94 |
// --- allow enabling incompatible addons |
95 | 95 |
// firefoxProfile.addExtension(this.getClass(), "/org/mozilla/addons/add_on_compatibility_reporter-0.8.3-fx+tb+sm.xpi"); |
... | ... | |
103 | 103 |
CdmDataPortalTestBase.logger.error(e); |
104 | 104 |
System.exit(-1); |
105 | 105 |
} |
106 |
|
|
107 |
firefoxProfile.setEnableNativeEvents(true); |
|
108 |
|
|
106 | 109 |
driver = new FirefoxDriver(firefoxProfile); |
107 | 110 |
|
108 | 111 |
|
Also available in: Unified diff
tests for #386 (Handle hybrids in data portals)