allow to ask for remote host profiles and save token on first connection for later use
This commit is contained in:
+2
-2
@@ -17,9 +17,9 @@ def browser():
|
||||
"""Returns a connected send_command callable for the testing profile, or skips the test."""
|
||||
try:
|
||||
send_command("tabs.list", profile=TEST_BROWSER_PROFILE)
|
||||
except BrowserNotConnected:
|
||||
except (BrowserNotConnected, RuntimeError) as e:
|
||||
pytest.skip(
|
||||
"Browser 'testing' not connected — start Brave/Chrome with the extension loaded for that profile"
|
||||
f"Browser 'testing' not connected — start Brave/Chrome with the extension loaded for that profile ({e})"
|
||||
)
|
||||
|
||||
def _browser(command, args=None):
|
||||
|
||||
Reference in New Issue
Block a user