Updated ReadMe to ease the installation process
This commit is contained in:
11
ReadMe.md
11
ReadMe.md
@@ -1 +1,10 @@
|
||||
# :D
|
||||
# How to deploy
|
||||
|
||||
So you cloned or downloaded the repo.
|
||||
To use the program properly you will need to follow theses steps. (I promise one day it will have its own installer)
|
||||
|
||||
- Open the project in Visual Studio
|
||||
- Rebuild the solution (Build -> Rebuild Solution)
|
||||
- Put the file named "recoverCookiesCSV.py" that you can find in /seleniumF1Automaton/TestSelenium/ into the /seleniumF1Automaton/TestSelenium/bin/debug (or release)
|
||||
- Be sure that thoses libs have been installed (Selenium.Firefox.Webdriver[0.27.0] Selenium.WebDriver[4.8.0])
|
||||
- Connect to the F1TV using chrome
|
||||
@@ -70,6 +70,7 @@ namespace TestSelenium
|
||||
Thread.Sleep(5000);
|
||||
|
||||
//IWebElement dataChannelButton = driver.FindElement(By.ClassName("btn btn-link d-flex align-items-center data-button"));
|
||||
//If an error shows up here, you might have forgotten to connect with your credentials in chrome to the f1tv
|
||||
IWebElement dataChannelButton = driver.FindElement(By.ClassName("data-button"));
|
||||
dataChannelButton.Click();
|
||||
|
||||
@@ -122,6 +123,7 @@ namespace TestSelenium
|
||||
RunCookieRetrieval();
|
||||
string value = "";
|
||||
List<Cookie> cookies = new List<Cookie>();
|
||||
//If this crashes it might mean that the python script did not execute well. This could use some error handling
|
||||
using (var reader = new StreamReader("cookies.csv"))
|
||||
{
|
||||
// Read the header row and validate column order
|
||||
|
||||
Reference in New Issue
Block a user