码迷,mamicode.com
首页 >  
搜索关键字:selenium frmae    ( 6251个结果
java+selenium+new——操作单选按钮——使用list容器进行遍历
package rjcs; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxD ...
分类:编程语言   时间:2020-02-08 22:06:55    阅读次数:125
java+selenium+new——操作单选下拉列表——打印每一个选项——3种方法选中某一个选项——select类
package rjcs; import java.util.*; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium. ...
分类:编程语言   时间:2020-02-08 17:40:41    阅读次数:85
java+selenium+new——操作多选下拉列表——选中、取消——select类
package rjcs; import java.util.List; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.seleni ...
分类:编程语言   时间:2020-02-08 17:28:34    阅读次数:146
java+selenium+new——操作单选下拉列表——select类
package rjcs; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.interactions.Actions; import org.openqa.selenium.support.ui ...
分类:编程语言   时间:2020-02-08 15:21:15    阅读次数:74
java+selenium+new——同一个标签窗口里 ,访问多个网页的后退driver.navigate().back()、前进driver.navigate().forward()、刷新driver.navigate().refresh()等功能
package rjcs; import org.openqa.selenium.firefox.FirefoxDriver; public class xinkaishi { public static void main(String[] args) { System.setProperty(" ...
分类:编程语言   时间:2020-02-08 00:50:22    阅读次数:93
java+selenium+new——返回上一个访问的网页(模拟单击浏览器的后退功能),同一个标签窗口里
package rjcs; import org.openqa.selenium.firefox.FirefoxDriver; public class xinkaishi { public static void main(String[] args) { System.setProperty(" ...
分类:编程语言   时间:2020-02-08 00:44:46    阅读次数:95
java+selenium+new——同一个标签窗口里 ,访问多个网页的后退driver.navigate().back()、前进driver.navigate().forward()、刷新driver.navigate().refresh()等功能 。以及获取当前页面的title属性driver.getTitle()和获取当前页面的url地址driver.getCurrentUrl()
package rjcs; import org.openqa.selenium.firefox.FirefoxDriver; public class xinkaishi { public static void main(String[] args) { System.setProperty(" ...
分类:编程语言   时间:2020-02-08 00:43:55    阅读次数:298
java+selenium+new——文本框的输入、清空——按钮的单击
package rjcs; import org.openqa.selenium.firefox.FirefoxDriver; public class xinkaishi { public static void main(String[] args) { System.setProperty(" ...
分类:编程语言   时间:2020-02-08 00:22:22    阅读次数:108
java+selenium+new——访问某个网址的两种方式driver.get()以及driver.navigate().to()
package rjcs; import org.openqa.selenium.firefox.FirefoxDriver; public class xinkaishi { public static void main(String[] args) { System.setProperty(" ...
分类:编程语言   时间:2020-02-08 00:16:53    阅读次数:73
java+selenium+new——获取网页源代码driver.getPageSource()
package rjcs; import org.openqa.selenium.firefox.FirefoxDriver; import org.testng.Assert; public class xinkaishi { public static void main(String[] ar ...
分类:编程语言   时间:2020-02-08 00:13:18    阅读次数:414
6251条   上一页 1 ... 81 82 83 84 85 ... 626 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!