我有一个Perl脚本,它使用Selenium来获取一个不存在的名为foo的HTML文档(404未找到)。脚本的默认行为是打印一个错误并终止,这样就永远不会打印"bar“。/usr/bin/perl
use WWW::Selenium;
my $sel = WWW::Selenium->new( host => "localhost",("http://www.google.com/fo
我在python中有一个selenium脚本,我想这样做(伪代码)while traffic usage hasn't been 0 during the last3 seconds:print "everything is loaded"
Selenium做得非常好,但只使用页面的基本元素(例如,它不会等待闪存)最好的办法是只监视页面的流量,但是我可以假设没有其他的