skip to Main Content

I need send copied text in telegram bot using selenium-chromedriver – Telegram API

element = browser.find_element_by_xpath("//div[@class='span12']") # send the copied text back context.bot.send_message(chat_id=update.message.chat_id, text=element) #come error element = browser.find_element_by_xpath("//div[@class='span12']") 2021-10-15 05:34:51,229 - telegram.ext.dispatcher - ERROR - No error handlers are registered, logging exception ........................ raise TypeError(f'Object of type {o.__class__.__name__} ' TypeError: Object of…

VIEW QUESTION

Page reloads after submitting the 2captcha token – Twitter API

I'm trying to signup on twitter using selenium and using 2captcha API to solve the captcha but for some reason when clicking continue the page refreshes and doesn't proceed captchaInput = twitter_driver.find_element_by_id('g-recaptcha-response') print("Text area set to visible") twitter_driver.execute_script("arguments[0].setAttribute('style','display:visible;');", captchaInput) time.sleep(5)…

VIEW QUESTION

unable to click button with unique button data-order-group-id 's information python+selenium – SEO

javascript code (repeat order 1): <div class="col-ea-1 repeat-order repeatable-order"> #common row in other snippets <button data-order-group-id="a9755447-04ff-4d00-59bf-06ff87f8ead6" #different row data-restaurant-seo-url="/abc-pizza-bayburt-kirazli-mah" class="ys-btn ys-btn-primary ys-btn-aa middle repeat-order-button"> REPEAT ORDER </button> ==$0 </div> In the above snippet javascript code, there is more than one…

VIEW QUESTION
Back To Top
Search