selenium chromedriver - Twitter detects suspicious activity [duplicate] - selenium

This question already has answers here:
Can a website detect when you are using Selenium with chromedriver?
(25 answers)
Unable to use Selenium to automate Chase site login
(1 answer)
Selenium webdriver: Modifying navigator.webdriver flag to prevent selenium detection
(15 answers)
Closed 4 years ago.
I have an automated daily task with RSelenium in the cloud. This task consists of logging (required) into www.twitter.com and make a webflow navigation. Instead, Twitter detects this logging as suspicious activity.
How could I avoid it? My IP is static. I think one way to solve it would be using the webdriver.remote.sessionid so that Twitter does not consider me as a new user in each task iteration.
Any ideas?
Thanks in advance.

Related

Is there any way to change user-agent in debugger chrome? [duplicate]

This question already has answers here:
How to change the Google Chrome UserAgent using the ChromeDriver installed through webdriver_manager
(1 answer)
How to change the User Agent using Selenium and Python
(3 answers)
How to rotate various user agents using selenium python on each request
(3 answers)
Closed last year.
I'm testing (python selenium).
I am using chromedriver.
Is there any way to change user-agent in debugger chrome?

Are there significant risks of using chrome driver [duplicate]

This question already has an answer here:
Security Considerations - ChromeDriver - Webdriver for Chrome
(1 answer)
Closed 2 years ago.
I need to use chrome driver to automate web navigation using selenium.
However, the work computer that I use did not like it, I had to bypass a couple of security blocks. When I dowloaded chrome driver I tried to run it in the cmd terminal which threw up a link and a recommendation that I should read its contents. the link was the following:
https://chromedriver.chromium.org/security-considerations
The link's web page contained a series of warnings about running chrome driver on a computer that has privileged access to information. My computer happens to have just that.
I need to find a way of automating website navigation with or without chrome driver, what should I do??
This is probably because it can do stuff like access websites that you might not want to access, either because its private data or because its a site that you arent allowed to access by law. Pretty sure that, as long as you dont run scripts from others, and know what you are doing yourself you arent taking a risk. The main problem is, that you might not be able to cancel it anymore if it runs once. If you rather do it in another way, you can use the geckodriver from firefox, i have not had such a warning yet but i assume the risk is the same

Getting click intercepted on selenium test run on jenkins [duplicate]

This question already has answers here:
Can not click on a Element: ElementClickInterceptedException in Splinter / Selenium
(7 answers)
ElementClickInterceptedException: Message: element click intercepted Element is not clickable error clicking a radio button using Selenium and Python
(1 answer)
Closed 2 years ago.
Does anyone know how to solve such a problem, my 2 main issues are getting a click intercepted error on jenkins (but not when run on eclipse) and getting a timeout due to jenkins being unable to find element.
Ensure that the website is accesible in your jenkins server.
Check the speed of the code in jenkins server vs eclipse. It might be that the element was not yet loaded and some codes already run. In this case you need to wait for element to lad first, a timeout or the wait functionality of selenium

Selenium Chrome Driver - Can i set timeout for connecting to driver? [duplicate]

This question already has answers here:
How to set the timeout of 'driver.get' for python selenium 3.8.0?
(1 answer)
pageLoadTimeout in Selenium not working
(2 answers)
Closed 3 years ago.
I'm using selenium tests which requires to invoke first Chrome driver (in my case through "chrome.exe --remote-debugging-port=9222 --user-data-dir="C:\selenum\AutomationProfile")
It's acceptable that the test will fail if the driver is not present - but the problem is it takes more than 30 seconds for the test to fail - probably this is default timeout connecting to the driver?
And - really couldn't find a timeout setting in chrome options - maybe i'm blind

How to handle allow pop up on the chrome browser by Selenium Java [duplicate]

This question already has an answer here:
How can I close the microphone/camera popup in Python / Selenium?
(1 answer)
Closed 4 years ago.
How to handle allow pop up on the chrome browser by Selenium Java
I'm using
chrome=69.0.3497.100
Driver info: chromedriver=2.35.528161
Selenium-jave: 3.14.0
Note: I have tried every possible solution from: How to click Allow on Show Notifications popup using Selenium Webdriver
and and more
Add the following capability:
avoids the need to grant camera/microphone permissions.
--use-fake-ui-for-media-stream