BrowserSteps - adding setup check

search-list
dgtlmoon 1 year ago
parent e4f6d54ae2
commit 463b2d0449

@ -104,10 +104,13 @@ def construct_blueprint(datastore: ChangeDetectionStore):
# A new session was requested, return sessionID # A new session was requested, return sessionID
import uuid import uuid
browsersteps_session_id = str(uuid.uuid4()) global browsersteps_sessions
browsersteps_session_id = str(uuid.uuid4())
watch_uuid = request.args.get('uuid') watch_uuid = request.args.get('uuid')
global browsersteps_sessions
if not watch_uuid:
return make_response('No Watch UUID specified', 500)
print("Starting connection with playwright") print("Starting connection with playwright")
logging.debug("browser_steps.py connecting") logging.debug("browser_steps.py connecting")

Loading…
Cancel
Save