Search the Community
Showing results for tags 'session id'.
-
For the past two days I've been reading all Wiki pages, installed all the demos etc. but I am still unable to do this simple workflow 1. I want to use WebDriver UDF to open Chrome (Set chrome option arguments - Window Size, Pixel ratio, device type and platform name, user-agent.) 2. On new Tab I want to read the tab Title and save it into a TXT file. 3. I need to save the Session ID with my previosly set Capabilities into a file. 4. I want to close the chrome window. Then 5. I want to open Chrome again, but with my previosly saved Session ID and Capabilities list from the file. 6. And minimaze the window state. 7. After 30 seconds, close the chrome. I would really appreciate for the WebDriver UDF Helper file, to have also basic code examples, for non coders. For example how to open a windwow etc., save sessions, etc. Anyway, if someone could help me get started and help me with this workflow, that would be much appreaciated. 😔
-
Hi! I'm triying to get the session id to close automatically a RDP session. I tried doing this: #RequireAdmin #include <Constants.au3> $DOS = Run('C:\Windows\System32\query.exe user', "", @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD) ;Run(@ComSpec & " /c " & 'Query User', "", @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD) ;Run(@ComSpec & " /c " & 'quser', "", @SW_HIDE, $STDERR_CHILD + $STDOUT_CHILD) ProcessWaitClose($DOS) $Message = StdoutRead($DOS) MsgBox(0,'',$Message) But the $Message is always empty, if I execute any of these commands in a cmd window, it works Any idea on why is this falling? there is another way to get this info? PS: Sorry for my english, i'm not native.
- 1 reply
-
- quser
- session id
-
(and 2 more)
Tagged with: