-
Notifications
You must be signed in to change notification settings - Fork 67
Error when try examples in python and ts #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
which version of the server are you running? make sure to update server regularly or build from source |
yo i fixed the issue ,can you either redownload the server running the getting started again https://docs.screenpi.pe/terminator/getting-started eg .\setup_windows.ps1
./server_release/server.exe --debug and tell me if the example works now? |
both python and typescript scripts are giving the same error :
|
C:\terminator\examples\client_example.py:9: SyntaxWarning: invalid escape sequence '\p' --- 1. Opening Application --- --- 2. Defining Locators --- --- 3. Getting Initial Text --- --- 4. Performing Clicks --- (1 + 2 =) API Error occurred: API Error (500): Automation error: Element not found: Name: 'One', Err: find element time out |
do you have calculator app on your computer? are you on windows?
|
does it open calculator app? do you have calculator app? are you on windows right? this is for windows only |
@louis030195 yes it opens the calculator , i'm on windows but it doesn't register the 1 + 2 = part ... |
@louis030195 I've just checked with the updated server.exe. The clicking on buttons 1 + 2 = 3 occurs.. but now I'm getting Timeout error in the getting initial text & verifying final text part. Here's the complete log -
This is the server side log
|
will look into this, i suspect UIs changes over different windows version keep in mind everything is very experimental and bugs are to be expected (but report these and we'll fix ASAP), i recommend using AI and providing terminator/examples/ai-explorer/src/index.ts Line 101 in 8a9712a
and AI will figure out how to retry and find right element to click/read |
when i launch the client_example.py with python client_example.py from the examples directory i have :
--- 1. Opening Application ---
--- 2. Defining Locators ---
--- 3. Getting Initial Text ---
ERROR: API Error (500): Automation error: Unsupported operation:
selectors
selector not supportedWarning: Could not get initial display text: API Error (500): Automation error: Unsupported operation:
selectors
selector not supported--- 4. Performing Clicks --- (1 + 2 =)
ERROR: API Error (500): Automation error: Unsupported operation:
selectors
selector not supportedAPI Error occurred: API Error (500): Automation error: Unsupported operation:
selectors
selector not supportedPlease help :)
The text was updated successfully, but these errors were encountered: