Closed rodsanshare closed 6 years ago
Is it preventing the browser from launching?
I did some quick reading and it looks like people are working around it by adding the registry key: https://github.com/SeleniumHQ/selenium/issues/5966
It opens the web site, but my one test doesn't run... displayed "ASP.NET"
Ok so it doesn't seem to be a problem with Selenium/Chrome.
You will have to share the contents of your script.
#I @"c:\TestAutomation"
#r "WebDriver.dll"
#r "canopy.dll"
#r "System.Configuration"
open canopy
open OpenQA.Selenium
chromeDir<- "C:\TestAutomation\\SeleniumDrivers\\"
//Open Dev Command Prompt
//Navigate to TestAutomation and run using fsi.exe Script1.fsx
start chrome
url "https://asp.net"
displayed "ASP.NET"
quit()
change displayed "ASP.NET"
to notDisplayed "ASP.NET"
and I bet it fails, meaning that it is running your code correctly.
You were right, sorry for the trouble!
No problem!
Hi, It's been a while since I used fsi.exe and I'm getting the following error: I'm using vs2017 and latest chrome driver. I only have one test to see if some text is displayed, that's all.