当前位置:网站首页>selenium的全部代码
selenium的全部代码
2022-07-22 23:29:00 【搬代码】
package com.jiyun;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.OutputType;
import org.openqa.selenium.TakesScreenshot;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.chrome.ChromeOptions;
import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.interactions.TouchScreen;
import org.testng.Assert;
import org.testng.Reporter;
import org.testng.annotations.Test;
import java.io.File;
import java.io.IOException;
import java.util.*;
import java.util.concurrent.TimeUnit;
/**
* @author syx
* @create 2022-03-27 17:44
*/
public class TestDome3 {
public static FirefoxDriver driver;
@Test(enabled = true,description = "cesi1")
public static void openFirefox() throws IOException {
try {
System.setProperty("webdriver.firefox.bin","E:\\huohu\\firefox.exe");
driver = new FirefoxDriver();
边栏推荐
- 这是一个笑话
- Data types in redis
- Dark horse programmer - interface testing - four-day learning interface testing - the second day - Interface use case design, test points, function testing, security testing, performance testing, sing
- 关于常见排序的稳定性
- 数据分析与隐私安全成 Web3.0 成败关键因素,企业如何布局?
- 1.学会看懂网页
- 【arXiv2022】GroupTransNet: Group Transformer Network for RGB-D Salient Object Detection
- RedisTemplate Pipeline 管道使用
- 黑马程序员-接口测试-四天学习接口测试-第二天-接口用例设计,测试点,功能测试,安全测试,性能测试,单接口测试,业务场景测试用例,postman简介,安装
- 【wepy2.0】的安装
猜你喜欢

Xiaohongshu joins hands with HMS core to enjoy HD vision and grow grass for a better life

程序员可能还是程序员,码农可能只能是码农了

Since I used the hiflow scene connector, I don't have to worry about becoming a "drowned chicken" anymore

Redis速成

Come on, slide to the next little sister

阿里云国际版忘记会员名或登录密码,怎么办?

小迪和小辉

Data types in redis

浅谈——网络安全架构设计(二)
[email protected]、$?、env看所有的全局变量值、set看所有变量"/>Shell变量、系统预定义变量$HOME、$PWD、$SHELL、$USER、自定义变量、特殊变量$n、$#、$*、[email protected]、$?、env看所有的全局变量值、set看所有变量
随机推荐
YAML语法介绍和各种数据类型
小迪和小辉
Shell variables, system predefined variables $home, $pwd, $shell, $user, custom variables, special variables $n, $, $*, [email protected],
Add payment method after successful registration of Alibaba cloud international edition
Go gin: multi file upload
程序员可能还是程序员,码农可能只能是码农了
坚持陪同学习
Web3流量聚合平台Starfish OS,给玩家元宇宙新范式体验
odbc excel--2022-07-21
Android安全专题-so逆向入门和使用ida动态调试
Intel raid simulator Download
bs4根据属性索引与名称索引对象
【arXiv2022】GroupTransNet: Group Transformer Network for RGB-D Salient Object Detection
Redis transaction and locking mechanism
Object prototype of typescript object extension__ proto__ And prototype
Download and installation of mongodb
浅谈——网络安全架构设计(二)
深度解析kube-scheduler调度上下文
On the stability of common sorting
聊聊队列(FIFO)的应用