cli command not working- TeleniumHttpException: Method not found

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



cli command not working- TeleniumHttpException: Method not found



Errors shows up while working on telenium using cli command



I was trying with it and reached to somewhere in middle:



Here follow the steps-



First install telenium using:



sudo pip install https://github.com/tito/telenium/archive/0.4.1.zip


sudo pip install https://github.com/tito/telenium/archive/0.4.1.zip



only when command: pip install telenium isn't work


pip install telenium



Check telenium by typing telenuim in command


telenuim



Now got your apps main.py


main.py



and run command: python -m telenium.execute main.py


python -m telenium.execute main.py



with this telenium client will start and you can see logs:


rajat@rajat-Inspiron-5558:~/crowdlogistics/hubapp$ python -m telenium.execute main.py
[INFO ] [Logger ] Record log in /home/rajat/.kivy/logs/kivy_18-09-13_1.txt
[INFO ] [Kivy ] v1.9.1
[INFO ] [Python ] v2.7.6 (default, Nov 23 2017, 15:49:48)
[GCC 4.8.4]
[INFO ] [Factory ] 179 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO ] [OSC ] using <multiprocessing> for socket
[INFO ] [Window ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO ] [GL ] OpenGL version <3.0 Mesa 11.2.0>
[INFO ] [GL ] OpenGL vendor <Intel Open Source Technology Center>
[INFO ] [GL ] OpenGL renderer <Mesa DRI Intel(R) HD Graphics 6000 (Broadwell GT3) >
[INFO ] [GL ] OpenGL parsed version: 3, 0
[INFO ] [GL ] Shading version <1.30>
[INFO ] [GL ] Texture max size <8192>
[INFO ] [GL ] Texture max units <32>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [TeleniumClient] Start
[INFO ] [TeleniumClient] Started at 0.0.0.0:9901
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [Text ] Provider: sdl2

starting hub app



You also need to add python-jsonrpc in your dependencies (pip install python-jsonrpc)


python-jsonrpc


(pip install python-jsonrpc)



We have a command line client to play with. After the application is started, you can connect with:



python -m telenium.client localhost


python -m telenium.client localhost



Then play with it. cli is the telenium client where you can invoke remote commands. Check Telenium commands to see what you can do:
Type


cli


telenium client


Telenium commands


>>> id = cli.pick()



then click somewhere on the UI to add ID as a attribute



Unfortunately i am stuck here.


>>> cli.click_at(id)
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/telenium/client.py", line 37, in __call__
raise TeleniumHttpException(response["error"]["message"])
TeleniumHttpException: Method not found









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

make 2 or more post in bootsrap

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3

Firebase Auth - with Email and Password - Check user already registered