Closed GauthamramRavichandran closed 4 years ago
I dont get it, in the sample code you are not using a remote driver. Did you take a look at this sample?
yes, I am using a remote driver at connect_to_session
. It accepts session_id
and command_executor_url
. Returning a new driver which proxies all the requests to that given session_id
and cmd_url
. (Sorry, if my explanation is vague, I'm still learning selenium)
Basically this method, mimics the creation of new session and use the old one itself.
I understand now that I have to integrate this connect_to_session
in the constructor of APIDriver. Thank you,
I'm using a remote driver in the WhatsAPIDriver object.
The logged in check was success. but
get_all_chats()
raisesTypeError: 'NoneType' object is not iterable
. This happens only when I try with remote driver. Is there anyway to connect to this remote driver? I have thesession_id
andcommand_executor_url