Skip to content
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

Crash on send in multiple line. #34

Open
rsa408 opened this issue Feb 1, 2022 · 1 comment
Open

Crash on send in multiple line. #34

rsa408 opened this issue Feb 1, 2022 · 1 comment

Comments

@rsa408
Copy link

rsa408 commented Feb 1, 2022

I try to send :

insta.sendMessage(user='my_ID', message='Hello\n my\n name \n is \n RSA')

Error:

[12364:9996:0201/183830.300:ERROR:ssl_client_socket_impl.cc(996)] handshake failed; returned -1, SSL error code 1, net_error -101
ERROR:root:Message: element click intercepted: Element <button class="sqdOP yWX7d    y3zKF     " type="button">...</button> is not clickable at point (433, 529). Other element would receive the click: <span class="_7UhW9    vy6Bb     MMzan       gtFbE      se6yk        ">...</span>
  (Session info: chrome=97.0.4692.99)
@rsa408 rsa408 changed the title Crash on send in multiple line? Crash on send in multiple line. Feb 1, 2022
@rsa408
Copy link
Author

rsa408 commented Feb 2, 2022

I have commented
line 44: ```
#mobile_emulation = { "userAgent": 'Mozilla/5.0 (Linux; Android 4.0.3; HTC One X Build/IML74K) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19' }
options.add_experimental_option("mobileEmulation", mobile_emulation)

and :
line 46, 47: ```
#self.driver.set_window_position(0, 0)
        #self.driver.set_window_size(414, 736)

Now it works and without crashing but for every newline '\n' expression send a message. For this message: Hello\n my\n name, \n is \n RSA instead of 1 message with 4 lines, will send 4 messages.

amastis added a commit to amastis/instagram-bot-dm that referenced this issue Jul 26, 2022
Allowing __type_slow__ to send a single message with newlines CamTosh#34
Fixing function call never received 'element' and 'element' overwritten in function CamTosh#43
CamTosh pushed a commit that referenced this issue Jul 27, 2022
* send multiple lines #34 + bug #43

Allowing __type_slow__ to send a single message with newlines #34
Fixing function call never received 'element' and 'element' overwritten in function #43

* allow last char \n to submit the message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant