小编via*_*a77的帖子

超时和browserTimeout之间的区别

我刚开始使用Selenium Grid.

我面临的当前问题是测试崩溃的时候.浏览器一直保持打开状态,直到我到达并自行关闭,以便下一组测试可以开始.

我注意到NODE配置有两个超时配置,一个用于-timeout,另一个用于-browserTimeout

对于-timeout,它表示浏览器将"发布"进行另一次测试.因为-browserTimeout,它根本就没有说什么.

我不明白"已发布"是什么意思.

我需要的是在超时发生时关闭浏览器.

什么选项会关闭浏览器?

configuration selenium-grid

4
推荐指数
1
解决办法
1万
查看次数

使用bash脚本时,"cat"文件是一个无用的步骤吗?

在bash脚本中读取文件时捕获文件是否无用?

我应该"捕捉"文件,然后将内容发送到"while",如:

myFileContent="$(cat "$myfile")"
while IFS='' read -r lineRead || [[ -n "$lineRead " ]]; do
    <some important code here>
done <<< "$myFileContent"
Run Code Online (Sandbox Code Playgroud)

或者我应该直接发送文件,如:

while IFS='' read -r lineRead || [[ -n "$lineRead " ]]; do
    <some important code here>
done < "$myfile"
Run Code Online (Sandbox Code Playgroud)

bash file

1
推荐指数
1
解决办法
103
查看次数

标签 统计

bash ×1

configuration ×1

file ×1

selenium-grid ×1