Ignore ff css warnings.
This commit is contained in:
parent
8bb5eeb470
commit
b8d1972936
1 changed files with 1 additions and 0 deletions
|
@ -3132,6 +3132,7 @@ wait untill text in selector disabppears
|
||||||
if instance
|
if instance
|
||||||
logs = instance.manage.logs.get(:browser)
|
logs = instance.manage.logs.get(:browser)
|
||||||
logs.each {|log|
|
logs.each {|log|
|
||||||
|
next if log.level == 'WARNING' && log.message =~ /Declaration\sdropped./ # ignore ff css warnings
|
||||||
time = Time.zone.parse(Time.zone.at(log.timestamp / 1000).to_datetime.to_s)
|
time = Time.zone.parse(Time.zone.at(log.timestamp / 1000).to_datetime.to_s)
|
||||||
puts "#{time}/#{log.level}: #{log.message}"
|
puts "#{time}/#{log.level}: #{log.message}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue