linqPad IWebdriver want to connect to Mysql ?
Hi
strange i use a script find in selenium page . When i launch it , the script want to acces to MySQL !! I have WSL2 on my windows 10. use chromium 32 bit v133 for chromedriver and chrome browser .
Comments
-
Change connection (at the top right) to none
-
IWebdriver
has no relation to LINQPad. It's part of Selenium.Since broken collection
Mysql
is selected script fails on startup. -
Also, change the Language in the dropdown to 'C# Statements'.
Or else wrap your code in a
void Main()
:void Main() { IWebDriver driver = ... ... }
-
thank's for your replies
1) question 1
i need to use a class call Program . How i can call it in Main() ?
i was thinking """ Program pro1= new Program(); """ but text don't appear !!2) question 2
What mean CS1513 } expected ?3) question 3
i need to test this code in linqPad : https://georeference.org/forum/t131475
if i copy paste c# code inside a void Main(){ } Linqpad return thisThank's
-
- Use
Program.Main();
instead in line6
(please provide code as code and not a picture next time). - https://learn.microsoft.com/en-us/dotnet/csharp/misc/cs1513
- COM class is not registered. You have to register corresponding COM servers somehow.
- Use