-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
C#. A GetLog(LogType.Browser); throw an error 'object reference not set to an instance of an object' #7900
Comments
what version of selenium are you using? looks like it was resolved in #7390 for alpha-version, but stable is still suffering from this |
I use 3.141.0. But yesterday i used new 4.0.0 alfa 03 version, but i got an
error
' Message:
System.IO.FileNotFoundException : Could not load file or assembly
'WebDriver, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'. The
system cannot find the file specified.
Stack Trace:
PageObject.ctor()
POLogin.ctor()'
I guess it connected with SeleniumExtras.PageObjects
2020 թ. հնվ 9, հնգ, 17:49 cath3r0 <notifications@github.com> օգտատերը գրել
է՝
… what version of selenium are you using?
looks like it was resolved in #7390
<#7390> for alpha-version,
but stable is still suffering from this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7900?email_source=notifications&email_token=AHZ7EULBJFNKHH6LMLKCJOTQ44TPNA5CNFSM4KBMK5CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIQLP4Y#issuecomment-572569587>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHZ7EUMJFYKIOYTMO6RPFT3Q44TPNANCNFSM4KBMK5CA>
.
|
I've upgraded Selenium Webdriver/Support version to 4.0.0-alpha04, but now there are new errors Severity Code Description Project File Line Suppression State Severity Code Description Project File Line Suppression State Severity Code Description Project File Line Suppression State Severity Code Description Project File Line Suppression State |
Any updates on this? |
Thank you for providing the details and the updates. I attempted to re-create the issue as follows. Reproduced using the code sample below:
Result Environment I would recommend upgrading to the latest version 4.0.0-beta2 and check if the problem still persists. Thank you! |
This issue is stale because it has been open 365 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue was closed because it has been stalled for 14 days with no activity. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
A GetLog(LogType.Browser); throw an error 'object reference not set to an instance of an object'
-->
To Reproduce
ChromeOptions copts = new ChromeOptions();
copts.SetLoggingPreference(LogType.Browser, LogLevel.All);
var service = ChromeDriverService.CreateDefaultService(browserpath);
service.LogPath = browserpath+"\chromedriver.log";
service.EnableVerboseLogging = true;
WebDriver = new ChromeDriver(service, copts)
var logEntry = WebDriver.Manage().Logs.GetLog(LogType.Browser);
ChromeDriver version 79.0.3945.3600
Please help
Environment
OS:
Browser:
Browser version:
Browser Driver version:
Language Bindings version:
Selenium Grid version (if applicable):
The text was updated successfully, but these errors were encountered: