lib/watir/generator/base/spec_extractor.rb in watir-6.6.2 vs lib/watir/generator/base/spec_extractor.rb in watir-6.6.3
- old
+ new
@@ -1,9 +1,9 @@
module Watir
module Generator
class Base::SpecExtractor
- IDL_SELECTOR = "//pre[@class='idl']"
+ IDL_SELECTOR = "//pre[contains(@class, 'idl')]".freeze
class InterfaceNotFound < StandardError; end
def initialize(uri)
@uri = uri