Getting error while launching firefox browser

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Getting error while launching firefox browser

Satish Dachepalli
Hi,

Please help me on the same, i used the code below.

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public class GmailLogin {

public static void main(String[] args) {
System.setProperty("webdriver.gecko.driver", "E:/geckodriver.exe");
WebDriver driver =  new FirefoxDriver();
}
}

i am getting the error like :

1496213352289 geckodriver INFO Listening on 127.0.0.1:31763
1496213352969 geckodriver::marionette INFO Starting browser \\?\C:\Program Files (x86)\Mozilla Firefox\firefox.exe with args ["-marionette"]
1496213353444 addons.manager ERROR startup failed: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFiJale.creatvea]S"c r inpstr eesrurlotr: :" 0xr8e0s0o7u0r0c5e7: /(/NgSr_eE/RmRoOdRu_lIeLsL/EAGdAdLo_nVMAaLnUaEg)e"r . ljoscma,t iloinn:e  "1J6S5 7f:r aNmSe_ E:R:R OrRe_sNoOT_INITIALIZED: AddounrMcaen:a/g/egrr ei/sm ondoutl eisn/iFtiileaUltiizlesd
.jsm :: FileUtils_getDir :: line 70"  data: no] Stack trace: FileUtils_getDir()@resource://gre/modules/FileUtils.jsm:70 < FileUtils_getFile()@resource://gre/modules/FileUtils.jsm:42 < validateBlocklist()@resource://gre/modules/AddonManager.jsm:671 < startup()@resource://gre/modules/AddonManager.jsm:834 < startup()@resource://gre/modules/AddonManager.jsm:3129 < observe()@resource://gre/components/addonManager.js:65
1496213357242 Marionette INFO Listening on port 61453
JavaScript error: resource://gre/modules/AddonManager.jsm, line 2570: NS_ERROR_NOT_INITIALIZED: AddonManager is not initialized
May 31, 2017 12:19:18 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C




Used Environment:

Selenium: Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
Operating system: Windows 8.1 pro, 64 bit
Browser version: 53.0.3


Regards,
Satish D

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/56e3ea96-7ed5-4380-a2a6-a39f87a87337%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Getting error while launching firefox browser

Akshat Gupta
Hi


webdriver.firefox.marionette try to use this instead of webdriver.gecko.driver

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/17cf0666-8da8-49a9-b54a-519094e2b64b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...