Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
FloSports
Reel Rookie

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
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.