syncloud-lib 319__tar.gz → 321__tar.gz
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.
- {syncloud-lib-319/syncloud_lib.egg-info → syncloud-lib-321}/PKG-INFO +1 -1
- {syncloud-lib-319 → syncloud-lib-321/syncloud_lib.egg-info}/PKG-INFO +1 -1
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/integration/conftest.py +4 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/integration/selenium_wrapper.py +4 -2
- syncloud-lib-321/version +1 -0
- syncloud-lib-319/version +0 -1
- {syncloud-lib-319 → syncloud-lib-321}/LICENSE +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/MANIFEST.in +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/setup.cfg +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/setup.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloud_lib.egg-info/SOURCES.txt +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloud_lib.egg-info/dependency_links.txt +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloud_lib.egg-info/requires.txt +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloud_lib.egg-info/top_level.txt +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/__init__.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/application/__init__.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/application/config.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/application/connection.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/application/paths.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/application/ports.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/application/service.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/application/storage.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/application/urls.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/application/users.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/error.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/fs.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/gen.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/http.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/integration/__init__.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/integration/device.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/integration/hosts.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/integration/installer.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/integration/loop.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/integration/screenshots.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/integration/ssh.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/json/__init__.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/json/convertible.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/linux.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/syncloudlib/logger.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/application/test_connection.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/application/test_paths.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/application/test_service.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/application/test_storage.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/application/test_urls.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/integration/test_hosts.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/integration/test_installer.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/integration/test_loop.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/integration/test_ssh.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/json/test_convertible.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/test_fs.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/test_gen.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/test_linux.py +0 -0
- {syncloud-lib-319 → syncloud-lib-321}/test/test_logger.py +0 -0
|
@@ -139,6 +139,8 @@ def new_firefox_driver(hub_url, ui_mode):
|
|
|
139
139
|
options.set_preference("devtools.console.stdout.content", True)
|
|
140
140
|
options.set_capability('acceptInsecureCerts', True)
|
|
141
141
|
options.set_capability('se:recordVideo', True)
|
|
142
|
+
options.set_preference("media.navigator.streams.fake", True)
|
|
143
|
+
options.set_preference("media.navigator.permission.disabled", True)
|
|
142
144
|
|
|
143
145
|
return webdriver.Remote(
|
|
144
146
|
command_executor=hub_url,
|
|
@@ -159,6 +161,8 @@ def new_chrome_driver(hub_url, ui_mode):
|
|
|
159
161
|
options.set_capability('goog:loggingPrefs', {'performance': 'ALL'})
|
|
160
162
|
options.set_capability('acceptInsecureCerts', True)
|
|
161
163
|
options.set_capability('se:recordVideo', True)
|
|
164
|
+
options.add_argument("--use-fake-ui-for-media-stream")
|
|
165
|
+
options.add_argument("--use-fake-device-for-media-stream")
|
|
162
166
|
return webdriver.Remote(
|
|
163
167
|
command_executor=hub_url,
|
|
164
168
|
options=options
|
|
@@ -27,11 +27,13 @@ class SeleniumWrapper:
|
|
|
27
27
|
def find_by_css(self, css):
|
|
28
28
|
return self.find_by(By.CSS_SELECTOR, css)
|
|
29
29
|
|
|
30
|
-
def find_by(self, by, value):
|
|
30
|
+
def find_by(self, by, value, parent=None):
|
|
31
|
+
if not parent:
|
|
32
|
+
parent = self.driver
|
|
31
33
|
#self.wait_or_screenshot(expected_conditions.visibility_of_element_located((by, value)))
|
|
32
34
|
self.wait_or_screenshot(expected_conditions.presence_of_element_located((by, value)))
|
|
33
35
|
try:
|
|
34
|
-
return
|
|
36
|
+
return parent.find_element(by, value)
|
|
35
37
|
except Exception as e:
|
|
36
38
|
self.screenshot('exception', True)
|
|
37
39
|
|
syncloud-lib-321/version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
321
|
syncloud-lib-319/version
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
319
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|