Questions tagged [Selenium] (501)

1
answer

How to automatically delete old processes chrome?

Use selenium+chrome driver after the remain chrome processes that continue to eat RAM, each time to manually delete all of these processes stupid. I would like to know if there is some utility or script that removes unnecessary processes chrome? Ubuntu 18.04
skylar.Connelly17 asked April 19th 20 at 12:29
1
answer

As for selenium-webdriver to the current running profile Firefox?

After running firefox, create a profile, which is saved to some temporary folder /tmp/rust_mozprofileXXXXXX. As using selenium webdriver to obtain the path to such a running temporary profile browser Firefox (from within the code, meaning)? Used NodeJS v12.16.1, Mozilla Firefox 72.0.1, selenium-webdriver 3.6.0, geckodriver ...
jeanne.McGlynn asked April 19th 20 at 12:13
1
answer

As using Selenium to click on the checkbox/radio button?

Hi. only only deal with automated testing, faced with this example. Can't click on buttons of the agreements on this website https://ru.experrto.io/register/. Tried using xpath or just via tags, IDs, and selectors, but to no avail. Obviously, that's way I fail.. Very hope for your help
gunnar3 asked April 19th 20 at 12:07
2
answers

How to take the value of the selector in Selenium?

1. How do I get the text which is contained in the selector and push it into a variable? What to do if the value is X(a number).(number) ((X2.53,x1.44)) is it possible to get rid of X and then compare the value as a number?
Cristopher28 asked April 18th 20 at 13:14
3
answers

What tools to use to create a web service?

Hi. Every day on multiple sites to spend a certain action(the search for elements, parsing, clicks, copy-paste, small vychisleniya etc) and they all have their sequence. The idea to write your 'code' to automate these actions. As familiar with java, have got to learn selenium. The whole thing , like the GUI, I want to put o...
emilia2 asked April 18th 20 at 13:06
1
answer

How to hide and show the browser window using Selenium webdriver?

Hello, question: How to hide and show the browser using selenium webdriver? Now I have a program, by pressing button btn1 runs a test in the firefox browser. When you start add the argument --and the headless browser runs without a user interface, it suits me. But I want to add the ability by pressing btn2 one of the follow...
Maverick.Cormier33 asked April 18th 20 at 13:04
1
answer

How to add javascript to the page before loading other scripts?

driver = seleniumrequests.Chrome(executable_path=chromedriverpath) driver.get(url) f = open("proxy.js", "r") driver.execute_script(f.read()) driver.execute() f.close() The above code executes the js code after the page has loaded. How do I add it before the page loads?
andrew_Daugherty asked April 18th 20 at 13:03
2
answers

How to use conditional IF statement in Selenium WebDriver?

How can I implement in Selenium WebDriver Conditional statements? For example if (KF > 10); ... else ... Write in C#. Chrome.
leanna asked April 18th 20 at 12:51
2
answers

Python does not see installed the selenium module?

Greetings, trying to deal with selenium, installed the module, downloaded the driver for your Chrome, try to start a simple sample example and faced with the fact that python doesn't see as far as I understand this module.
Chad.Murray83 asked April 18th 20 at 12:39
3
answers

Is it possible to find Selenium_ом element by partial id?

The element on the page has the ID of the form id="text1234" and the next time you visit it already id="text2345". Is it possible to change the numbers when looking at the symbol (e.g. * , ? or any other symbol, these I have tried, I do not work) that would have found the element with any numeric value? Other id with the s...
jennings_Hudson asked April 18th 20 at 12:37