Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console.error in FF68 #38

Open
NScheeren opened this issue Aug 16, 2019 · 1 comment
Open

console.error in FF68 #38

NScheeren opened this issue Aug 16, 2019 · 1 comment

Comments

@NScheeren
Copy link

Hi there,

i use the Version 0.6.1 of the HET-extension with Firefox 68.0.2 and the following Code (with Selenium 3.14.0)

`[create geckoservice]

FirefoxOptions options = new FirefoxOptions();
options.addPreference("devtools.netmonitor.har.enableAutoExportToFile", true);
options.addPreference("devtools.netmonitor.har.defaultLogDir", "C:/");
options.addPreference("devtools.toolbox.selectedTool", "netmonitor");
options.addPreference("devtools.toolbox.footer.height", 250);
options.addPreference("javascript.enabled", true);
options.addArguments("-devtools");
options.addPreference("devtools.netmonitor.har.defaultFileName", "network-log-file-%Y-%m-%d-%H-%M-%S");
options.setProfile(profile); //Profile already has Addon installed
FirefoxDriver driver = new FirefoxDriver(geckoservice, options);
JavascriptExecutor js = driver;
driver.get("about:blank");
driver.get("https://www.google.com");
js.executeAsyncScript("HAR.triggerExport().then(harLog => {\r\n" + " console.log(harLog);\r\n" + "});");
js.executeAsyncScript("HAR.addRequestListener(harEntry => {\r\n"+ " console.log("Request finished", request);\r\n" + "});");
driver.quit();´

If i execute this i get the following Console output:
Aug 16, 2019 3:49:38 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFORMATION: Detected dialect: W3C
console.error: "HAR: request not found server1.conn0.netEvent496"
console.error: "HAR: request not found server1.conn0.netEvent553"

any ideas on how to fix this issue?

@NScheeren NScheeren reopened this Aug 16, 2019
@sciatro
Copy link

sciatro commented Sep 2, 2019

I'm also seeing lots of console errors in the format server1.conn0.netEvent### using FFv68 and HET 0.6.

Despite the errors it seems the extensions is working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants