U
U
U_n_d_e_r2021-02-23 15:51:02
C++ / C#
U_n_d_e_r, 2021-02-23 15:51:02

SeleniumWebDriver not working?

Good afternoon!
I decided to make a bot for one site. I work in vscode, installed the necessary utilities, sketched out a code to check if it works as it should, but no. Chrome opens, but do not go to the desired url. I attach screenshots of the code.6034fa1a1c873841080672.png
6034fa2489791932303787.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Shamanov, 2021-02-23
@U_n_d_e_r

driver requirements set?


Remember that you have to set the path to the chromedriver executable. This is possible using the following line:
new ChromeDriver("/path/to/chromedriver");

V
Vasily Bannikov, 2021-02-23
@vabka

Write dotnet run in the console

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question