Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
FloSports
Level 7

Automated channel testing setup main.py error - Invalid syntax

Hi,

I'm working on automated channel testing using Roku framework (https://developer.roku.com/en-gb/docs/developer-program/dev-tools/automated-channel-testing/automate... ) and I followed all the steps to set up the Roku WebDriver with no problem. The last step when I tried to run the sample Web driver client application vie command line:

python /Users/peteryelagin/go/src/automated-channel-testing-master/sample/script/main.py 192.168.0.115

I get syntax error:

File "/Users/peteryelagin/go/src/automated-channel-testing-master/sample/script/main.py", line 20

    def  run(ip: str):

                     ^

SyntaxError: invalid syntax

I tried to follow set up few time s and every time I get the same error. Did anybody get that error before?

Thanks,

Peter

0 Kudos