selenium执行时,有一个默认是运行速度,有时候速度很快,一眨眼就过去了,虽然报成功,但是不确定有没有按照我的步骤来,selenium提供了一个方法,可以用来设置运行速度,selenium.setSpeed("10000");
下面是详细的列子:
[SetUp] public void SetupTest() { selenium = new DefaultSelenium("localhost", 4444, "*iexplore", URL"); selenium.Start(); selenium.setSpeed("1000"); } |