selenium-webdriver 3.0.0.beta2 → 3.0.0.beta2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGES CHANGED
@@ -1,3 +1,9 @@
1
+ 3.0.0.beta2.1 (2016-08-03)
2
+ ===================
3
+
4
+ Ruby:
5
+ * Fixed bug in collections
6
+
1
7
  3.0.0.beta2 (2016-08-02)
2
8
  ===================
3
9
 
@@ -42,7 +42,7 @@ module Selenium
42
42
  end
43
43
 
44
44
  def submit_element(element)
45
- execute :submitElement, id: element
45
+ execute :submitElement, id: element['ELEMENT']
46
46
  end
47
47
 
48
48
  def double_click
@@ -66,7 +66,8 @@ module Selenium
66
66
  end
67
67
 
68
68
  def mouse_move_to(element, x = nil, y = nil)
69
- params = {element: element}
69
+ element_id = element['ELEMENT'] if element
70
+ params = {element: element_id}
70
71
 
71
72
  if x && y
72
73
  params[:xoffset] = x
@@ -570,7 +570,7 @@ module Selenium
570
570
  #
571
571
 
572
572
  def active_element
573
- Element.new self, element_id_from(execute(:getActiveElement))
573
+ Element.new self, execute(:getActiveElement)
574
574
  end
575
575
 
576
576
  alias_method :switch_to_active_element, :active_element
@@ -595,7 +595,7 @@ module Selenium
595
595
  execute :findElements, {}, {using: how, value: what}
596
596
  end
597
597
 
598
- ids.map { |id| Element.new self, element_id_from(id) }
598
+ ids.map { |id| Element.new self, id }
599
599
  end
600
600
 
601
601
  private
@@ -5,7 +5,7 @@ raise "cwd must be #{root} when reading gemspec" if root != Dir.pwd
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'selenium-webdriver'
8
- s.version = '3.0.0.beta2'
8
+ s.version = '3.0.0.beta2.1'
9
9
 
10
10
  s.authors = ['Alex Rodionov', 'Titus Fortner']
11
11
  s.email = ['p0deje@gmail.com', 'titusfortner@gmail.com']
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: selenium-webdriver
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease: 6
5
- version: 3.0.0.beta2
5
+ version: 3.0.0.beta2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alex Rodionov
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2016-08-02 00:00:00 -05:00
14
+ date: 2016-08-03 00:00:00 -05:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency