02 腳本重構by封裝

定位元素和值分開定義 封裝By方法 則之前的定位寫法: 可更改爲: ok,整個禪道代碼更改如下: package com.aliyun.chandao; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.open
相關文章
相關標籤/搜索