selenium-webdriver 2.45.0 → 2.46.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.
Files changed (122) hide show
  1. data/CHANGES +18 -3
  2. data/Gemfile.lock +5 -5
  3. data/LICENSE +202 -0
  4. data/README.md +13 -8
  5. data/lib/selenium-client.rb +17 -0
  6. data/lib/selenium-webdriver.rb +17 -0
  7. data/lib/selenium/client.rb +17 -0
  8. data/lib/selenium/client/base.rb +17 -0
  9. data/lib/selenium/client/driver.rb +17 -0
  10. data/lib/selenium/client/errors.rb +17 -0
  11. data/lib/selenium/client/extensions.rb +1 -3
  12. data/lib/selenium/client/idiomatic.rb +17 -0
  13. data/lib/selenium/client/javascript_expression_builder.rb +17 -0
  14. data/lib/selenium/client/javascript_frameworks/jquery.rb +17 -0
  15. data/lib/selenium/client/javascript_frameworks/prototype.rb +17 -0
  16. data/lib/selenium/client/legacy_driver.rb +15 -15
  17. data/lib/selenium/client/protocol.rb +17 -0
  18. data/lib/selenium/client/selenium_helper.rb +18 -5
  19. data/lib/selenium/rake/server_task.rb +17 -0
  20. data/lib/selenium/server.rb +17 -0
  21. data/lib/selenium/webdriver.rb +18 -3
  22. data/lib/selenium/webdriver/android.rb +17 -0
  23. data/lib/selenium/webdriver/android/bridge.rb +18 -1
  24. data/lib/selenium/webdriver/chrome.rb +20 -3
  25. data/lib/selenium/webdriver/chrome/bridge.rb +17 -0
  26. data/lib/selenium/webdriver/chrome/profile.rb +18 -1
  27. data/lib/selenium/webdriver/chrome/service.rb +64 -21
  28. data/lib/selenium/webdriver/common.rb +19 -1
  29. data/lib/selenium/webdriver/common/action_builder.rb +17 -0
  30. data/lib/selenium/webdriver/common/alert.rb +17 -0
  31. data/lib/selenium/webdriver/common/bridge_helper.rb +18 -1
  32. data/lib/selenium/webdriver/common/core_ext/base64.rb +17 -0
  33. data/lib/selenium/webdriver/common/core_ext/dir.rb +17 -0
  34. data/lib/selenium/webdriver/common/core_ext/string.rb +17 -0
  35. data/lib/selenium/webdriver/common/driver.rb +18 -3
  36. data/lib/selenium/webdriver/common/driver_extensions/has_input_devices.rb +17 -0
  37. data/lib/selenium/webdriver/common/driver_extensions/has_location.rb +21 -4
  38. data/lib/selenium/webdriver/common/driver_extensions/has_network_connection.rb +57 -0
  39. data/lib/selenium/webdriver/common/driver_extensions/has_remote_status.rb +21 -4
  40. data/lib/selenium/webdriver/common/driver_extensions/has_session_id.rb +17 -0
  41. data/lib/selenium/webdriver/common/driver_extensions/has_touch_screen.rb +21 -4
  42. data/lib/selenium/webdriver/common/driver_extensions/has_web_storage.rb +17 -0
  43. data/lib/selenium/webdriver/common/driver_extensions/rotatable.rb +17 -0
  44. data/lib/selenium/webdriver/common/driver_extensions/takes_screenshot.rb +17 -0
  45. data/lib/selenium/webdriver/common/driver_extensions/uploads_files.rb +17 -0
  46. data/lib/selenium/webdriver/common/element.rb +23 -3
  47. data/lib/selenium/webdriver/common/error.rb +17 -0
  48. data/lib/selenium/webdriver/common/file_reaper.rb +17 -0
  49. data/lib/selenium/webdriver/common/html5/local_storage.rb +21 -4
  50. data/lib/selenium/webdriver/common/html5/location.rb +17 -0
  51. data/lib/selenium/webdriver/common/html5/session_storage.rb +21 -4
  52. data/lib/selenium/webdriver/common/html5/shared_web_storage.rb +22 -5
  53. data/lib/selenium/webdriver/common/json_helper.rb +20 -3
  54. data/lib/selenium/webdriver/common/keyboard.rb +17 -0
  55. data/lib/selenium/webdriver/common/keys.rb +16 -1
  56. data/lib/selenium/webdriver/common/log_entry.rb +21 -3
  57. data/lib/selenium/webdriver/common/logs.rb +20 -3
  58. data/lib/selenium/webdriver/common/mouse.rb +17 -0
  59. data/lib/selenium/webdriver/common/navigation.rb +17 -0
  60. data/lib/selenium/webdriver/common/options.rb +17 -0
  61. data/lib/selenium/webdriver/common/platform.rb +17 -0
  62. data/lib/selenium/webdriver/common/port_prober.rb +17 -0
  63. data/lib/selenium/webdriver/common/profile_helper.rb +17 -0
  64. data/lib/selenium/webdriver/common/proxy.rb +17 -0
  65. data/lib/selenium/webdriver/common/search_context.rb +17 -0
  66. data/lib/selenium/webdriver/common/socket_lock.rb +76 -0
  67. data/lib/selenium/webdriver/common/socket_poller.rb +17 -0
  68. data/lib/selenium/webdriver/common/target_locator.rb +17 -0
  69. data/lib/selenium/webdriver/common/timeouts.rb +17 -0
  70. data/lib/selenium/webdriver/common/touch_action_builder.rb +20 -3
  71. data/lib/selenium/webdriver/common/touch_screen.rb +20 -3
  72. data/lib/selenium/webdriver/common/wait.rb +17 -0
  73. data/lib/selenium/webdriver/common/window.rb +20 -4
  74. data/lib/selenium/webdriver/common/zipper.rb +17 -0
  75. data/lib/selenium/webdriver/firefox.rb +20 -4
  76. data/lib/selenium/webdriver/firefox/binary.rb +17 -0
  77. data/lib/selenium/webdriver/firefox/bridge.rb +18 -3
  78. data/lib/selenium/webdriver/firefox/extension.rb +17 -0
  79. data/lib/selenium/webdriver/firefox/extension/prefs.json +2 -0
  80. data/lib/selenium/webdriver/firefox/extension/webdriver.xpi +0 -0
  81. data/lib/selenium/webdriver/firefox/launcher.rb +17 -8
  82. data/lib/selenium/webdriver/firefox/native/linux/amd64/x_ignore_nofocus.so +0 -0
  83. data/lib/selenium/webdriver/firefox/profile.rb +17 -0
  84. data/lib/selenium/webdriver/firefox/profiles_ini.rb +17 -0
  85. data/lib/selenium/webdriver/firefox/util.rb +17 -0
  86. data/lib/selenium/webdriver/ie.rb +21 -3
  87. data/lib/selenium/webdriver/ie/bridge.rb +17 -0
  88. data/lib/selenium/webdriver/ie/server.rb +21 -4
  89. data/lib/selenium/webdriver/iphone.rb +17 -0
  90. data/lib/selenium/webdriver/iphone/bridge.rb +17 -0
  91. data/lib/selenium/webdriver/phantomjs.rb +20 -3
  92. data/lib/selenium/webdriver/phantomjs/bridge.rb +17 -0
  93. data/lib/selenium/webdriver/phantomjs/service.rb +17 -0
  94. data/lib/selenium/webdriver/remote.rb +20 -5
  95. data/lib/selenium/webdriver/remote/bridge.rb +24 -9
  96. data/lib/selenium/webdriver/remote/capabilities.rb +17 -9
  97. data/lib/selenium/webdriver/remote/commands.rb +20 -4
  98. data/lib/selenium/webdriver/remote/http/common.rb +18 -1
  99. data/lib/selenium/webdriver/remote/http/curb.rb +17 -0
  100. data/lib/selenium/webdriver/remote/http/default.rb +26 -4
  101. data/lib/selenium/webdriver/remote/http/persistent.rb +17 -0
  102. data/lib/selenium/webdriver/remote/response.rb +17 -0
  103. data/lib/selenium/webdriver/remote/server_error.rb +19 -2
  104. data/lib/selenium/webdriver/safari.rb +20 -3
  105. data/lib/selenium/webdriver/safari/bridge.rb +21 -4
  106. data/lib/selenium/webdriver/safari/browser.rb +21 -5
  107. data/lib/selenium/webdriver/safari/extensions.rb +21 -4
  108. data/lib/selenium/webdriver/safari/options.rb +21 -4
  109. data/lib/selenium/webdriver/safari/resources/SafariDriver.safariextz +0 -0
  110. data/lib/selenium/webdriver/safari/resources/client.js +1 -1
  111. data/lib/selenium/webdriver/safari/server.rb +21 -4
  112. data/lib/selenium/webdriver/support.rb +17 -0
  113. data/lib/selenium/webdriver/support/abstract_event_listener.rb +21 -4
  114. data/lib/selenium/webdriver/support/block_event_listener.rb +21 -4
  115. data/lib/selenium/webdriver/support/color.rb +22 -5
  116. data/lib/selenium/webdriver/support/event_firing_bridge.rb +17 -0
  117. data/lib/selenium/webdriver/support/select.rb +21 -4
  118. data/selenium-webdriver.gemspec +2 -2
  119. metadata +78 -78
  120. data/lib/selenium/webdriver/opera.rb +0 -24
  121. data/lib/selenium/webdriver/opera/bridge.rb +0 -112
  122. data/lib/selenium/webdriver/opera/service.rb +0 -49
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  module Selenium
2
19
  module WebDriver
3
20
  class Options
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  require 'rbconfig'
2
19
  require 'socket'
3
20
 
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  module Selenium
2
19
  module WebDriver
3
20
  class PortProber
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  module Selenium
2
19
  module WebDriver
3
20
 
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  module Selenium
2
19
  module WebDriver
3
20
  class Proxy
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  module Selenium
2
19
  module WebDriver
3
20
  module SearchContext
@@ -0,0 +1,76 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
18
+ module Selenium
19
+ module WebDriver
20
+ class SocketLock
21
+
22
+ def initialize(port, timeout)
23
+ @port = port
24
+ @timeout = timeout
25
+ end
26
+
27
+ #
28
+ # Attempt to acquire a lock on the given port. Control is yielded to an
29
+ # execution block if the lock could be successfully obtained.
30
+ #
31
+
32
+ def locked(&blk)
33
+ lock
34
+
35
+ begin
36
+ yield
37
+ ensure
38
+ release
39
+ end
40
+ end
41
+
42
+ private
43
+
44
+ def lock
45
+ max_time = Time.now + @timeout
46
+
47
+ until can_lock? || Time.now >= max_time
48
+ sleep 0.1
49
+ end
50
+
51
+ unless did_lock?
52
+ raise Error::WebDriverError, "unable to bind to locking port #{@port} within #{@timeout} seconds"
53
+ end
54
+ end
55
+
56
+ def release
57
+ @server && @server.close
58
+ end
59
+
60
+ def can_lock?
61
+ @server = TCPServer.new(Platform.localhost, @port)
62
+ ChildProcess.close_on_exec @server
63
+
64
+ true
65
+ rescue SocketError, Errno::EADDRINUSE, Errno::EBADF => ex
66
+ $stderr.puts "#{self}: #{ex.message}" if $DEBUG
67
+ false
68
+ end
69
+
70
+ def did_lock?
71
+ !!@server
72
+ end
73
+
74
+ end # SocketLock
75
+ end # WebDriver
76
+ end # Selenium
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  require 'selenium/webdriver/common/platform'
2
19
  require 'socket'
3
20
 
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  module Selenium
2
19
  module WebDriver
3
20
  class TargetLocator
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  module Selenium
2
19
  module WebDriver
3
20
  class Timeouts
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  module Selenium
2
19
  module WebDriver
3
20
  class TouchActionBuilder < ActionBuilder
@@ -59,6 +76,6 @@ module Selenium
59
76
  self
60
77
  end
61
78
 
62
- end
63
- end
64
- end
79
+ end # TouchActionBuilder
80
+ end # WebDriver
81
+ end # Selenium
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  module Selenium
2
19
  module WebDriver
3
20
  class TouchScreen
@@ -100,6 +117,6 @@ module Selenium
100
117
  end
101
118
  end
102
119
 
103
- end
104
- end
105
- end
120
+ end # TouchScreen
121
+ end # WebDriver
122
+ end # Selenium
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  module Selenium
2
19
  module WebDriver
3
20
  class Wait
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  module Selenium
2
19
  module WebDriver
3
20
 
@@ -98,7 +115,6 @@ module Selenium
98
115
  @bridge.maximizeWindow
99
116
  end
100
117
 
101
-
102
- end
103
- end
104
- end
118
+ end # Window
119
+ end # WebDriver
120
+ end # Selenium
@@ -1,3 +1,20 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  require 'zip'
2
19
  require 'tempfile'
3
20
  require 'find'
@@ -1,10 +1,26 @@
1
+ # Licensed to the Software Freedom Conservancy (SFC) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The SFC licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing,
12
+ # software distributed under the License is distributed on an
13
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14
+ # KIND, either express or implied. See the License for the
15
+ # specific language governing permissions and limitations
16
+ # under the License.
17
+
1
18
  require 'timeout'
2
19
  require 'socket'
3
20
  require 'rexml/document'
4
21
 
5
22
  require 'selenium/webdriver/firefox/util'
6
23
  require 'selenium/webdriver/firefox/extension'
7
- require 'selenium/webdriver/firefox/socket_lock'
8
24
  require 'selenium/webdriver/firefox/binary'
9
25
  require 'selenium/webdriver/firefox/profiles_ini'
10
26
  require 'selenium/webdriver/firefox/profile'
@@ -25,6 +41,6 @@ module Selenium
25
41
  Binary.path = path
26
42
  end
27
43
 
28
- end
29
- end
30
- end
44
+ end # Firefox
45
+ end # WebDriver
46
+ end # Selenium