Sha256: 86f77b75cb9adc2b069b10fc16f5c7cb00b28cae1fe4c3aab1b3959b7e041e00
Contents?: true
Size: 1.45 KB
Versions: 1
Compression:
Stored size: 1.45 KB
Contents
# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'selenium/webdriver/element/extend_click_again/version' Gem::Specification.new do |spec| spec.name = 'selenium-webdriver-element-extend_click_again' spec.version = Selenium::Webdriver::Element::ExtendClickAgain::VERSION spec.authors = ['oieioi'] spec.email = ['atsuinatsu.samuifuyu@gmail.com'] spec.summary = 'Extends `Element#click` to avoid not clickable error.' spec.description = <<~DESC Selenium::WebDriver::Element#click sometimes fails because the element is not clickable and other element receives the click. This gem extends `click` to avoid that. When `click` fails with `not clickable` error, this tries to center the element with executing JavaScript `Element.scrollIntoView()` and click it again. DESC spec.homepage = 'https://github.com/oieioi/selenium-webdriver-element-extend_click_again' spec.license = 'MIT' spec.files = Dir.chdir(File.expand_path(__dir__)) do `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } end spec.require_paths = ['lib'] spec.add_dependency 'selenium-webdriver' spec.add_development_dependency 'bundler', '~> 1.17' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0' spec.add_development_dependency 'rubocop' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
selenium-webdriver-element-extend_click_again-0.1.1 | selenium-webdriver-element-extend_click_again.gemspec |