文件名称:dotnet_selenium_lessonthree
文件大小:624KB
文件格式:ZIP
更新时间:2024-03-10 22:39:07
C#
选择和处理HTML元素 通过ID选择和HTML元素 IWebElement generationTokenElement = driver . FindElement ( By . Id ( " GenerationToken " )); 导航到浏览器,使用HTML元素选择器和您要查找的元素更新public void ReloadHomePageOnBack() [ Fact ] [ Trait ( " Category " , " Smoke " )] public void ReloadHomePageOnBack () { using ( IWebDriver driver = new ChromeDriver ()) {
【文件预览】:
dotnet_selenium_lessonthree-master
----.gitignore(6KB)
----CreditCards.UITests()
--------packages.config(903B)
--------DemoHelper.cs(390B)
--------CreditCardApplicationShould.cs(3KB)
--------CreditCards.UITests.csproj(6KB)
--------CreditCardWebAppShould.cs(3KB)
--------Properties()
----CreditCards()
--------Program.cs(417B)
--------appsettings.Development.json(298B)
--------Controllers()
--------appsettings.json(105B)
--------Views()
--------bundleconfig.json(604B)
--------CreditCards.csproj(990B)
--------Infrastructure()
--------ViewModels()
--------Startup.cs(3KB)
--------Properties()
--------Models()
--------wwwroot()
--------Core()
----README.md(5KB)
----CreditCards.sln(2KB)