RSS

Posts in 2021

  • Most votes on shell questions 2

    May 01, 2021 in FAQ

    Most votes on shell questions 2. #11 How do I set a variable to the output of a command in Bash? #12 How to reload .bashrc settings without logging out and back in again? #13 How to check if a variable is set in Bash? #14 How do I iterate over a range of numbers defined by variables in Bash? #15 How can I count all the lines of code in a directory recursively? #16 Loop through an array of strings in Bash? #17 How to exclude a directory in find . command #18 How do I prompt for Yes/No/Cancel input in a Linux shell script? #19 Check existence of input argument in a Bash shell script #20 Difference between sh and bash

    Read all the top votes questions and answers in a single page. #11: How do I set a variable to the output of a command in Bash? (Score: 1910) Created: 2011-01-10 Last updated: 2019-04-11 Tags: bash, shell, command-line I have a pretty simple script …

    Read more

  • Most votes on shell questions 10

    May 01, 2021 in FAQ

    Most votes on shell questions 10. #91 How to append one file to another in Linux from the shell? #92 Running multiple commands in one line in shell #93 What's the best way to send a signal to all members of a process group? #94 How to save a Python interactive session? #95 How to execute mongo commands through shell scripts? #96 Is there a TRY CATCH command in Bash #97 ./configure : /bin/sh^M : bad interpreter #98 Linux: copy and create destination dir if it does not exist #99 How to get process ID of background process? #100 Get program execution time in the shell

    Read all the top votes questions and answers in a single page. #91: How to append one file to another in Linux from the shell? (Score: 440) Created: 2011-02-11 Last updated: 2019-04-05 Tags: linux, shell, file, ubuntu, append I have two files: file1 …

    Read more

  • Most votes on shell questions 1

    May 01, 2021 in FAQ

    Most votes on shell questions 1. #1 How to execute a program or call a system command from Python #2 How can I check if a directory exists in a Bash shell script? #3 How to concatenate string variables in Bash #4 How do I copy a folder from remote to local using scp? #5 How to check if a string contains a substring in Bash #6 In the shell, what does " 2>&1 " mean? #7 How do I split a string on a delimiter in Bash? #8 How to mkdir only if a directory does not already exist? #9 How can I recursively find all files in current and subfolders based on wildcard matching? #10 How to delete from a text file, all lines that contain a specific string?

    Read all the top votes questions and answers in a single page. #1: How to execute a program or call a system command from Python (Score: 5274) Created: 2008-09-18 Last updated: 2021-02-19 Tags: python, shell, terminal, subprocess, command How do you …

    Read more

  • Most votes on selenium questions 9

    May 01, 2021 in FAQ

    Most votes on selenium questions 9. #81 Capturing JavaScript error in Selenium #82 How do I set browser width and height in Selenium WebDriver? #83 unknown error: Chrome failed to start: exited abnormally (Driver info: chromedriver=2.9 #84 How do you tell if a checkbox is selected in Selenium for Java? #85 With Capybara, how do I switch to the new window for links with "_blank" targets? #86 Scrolling to element using webdriver? #87 How do I pass options to the Selenium Chrome driver using Python? #88 How to run Google Chrome with Selenium RC? #89 How to take partial screenshot with Selenium WebDriver in python? #90 Change user-agent for Selenium web-driver

    Read all the top votes questions and answers in a single page. #81: Capturing JavaScript error in Selenium (Score: 81) Created: 2010-11-15 Last updated: 2016-06-13 Tags: selenium, selenium-rc Is there a way to capture errors occurring in the DOM in …

    Read more

  • Most votes on selenium questions 8

    May 01, 2021 in FAQ

    Most votes on selenium questions 8. #71 Running Selenium Webdriver with a proxy in Python #72 Get all child elements #73 How to switch to the new browser window, which opens after click on the button? #74 Checking if element exists with Python Selenium #75 Selenium Error - The HTTP request to the remote WebDriver timed out after 60 seconds #76 SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 81 #77 How to capture the screenshot of a specific element rather than entire page using Selenium Webdriver? #78 Access to file download dialog in Firefox #79 How to check if an alert exists using WebDriver? #80 Fill username and password using selenium in python

    Read all the top votes questions and answers in a single page. #71: Running Selenium Webdriver with a proxy in Python (Score: 89) Created: 2013-06-13 Tags: python, selenium, proxy, selenium-webdriver, selenium-ide I am trying to run a Selenium …

    Read more

  • Most votes on selenium questions 7

    May 01, 2021 in FAQ

    Most votes on selenium questions 7. #61 Selenium Web Driver & Java. Element is not clickable at point (x, y). Other element would receive the click #62 How do I run Selenium in Xvfb? #63 How to install Selenium WebDriver on Mac OS #64 Is it possible to hide the browser in Selenium RC? #65 Any suggestions for testing extjs code in a browser, preferably with selenium? #66 What is the difference between cssSelector & Xpath and which is better with respect to performance for cross browser testing? #67 Selenium IDE - Command to wait for 5 seconds #68 Running javascript in Selenium using Python #69 How to deal with certificates using Selenium? #70 selenium with scrapy for dynamic page

    Read all the top votes questions and answers in a single page. #61: Selenium Web Driver & Java. Element is not clickable at point (x, y). Other element would receive the click (Score: 94) Created: 2017-07-04 Last updated: 2018-11-19 Tags: java, …

    Read more

  • Most votes on selenium questions 6

    May 01, 2021 in FAQ

    Most votes on selenium questions 6. #51 Selenium 2.53 not working on Firefox 47 #52 Execute JavaScript using Selenium WebDriver in C# #53 Selenium WebDriver: Wait for complex page with JavaScript to load #54 How to get text with Selenium WebDriver in Python #55 How can I ask the Selenium-WebDriver to wait for few seconds in Java? #56 How to get attribute of element from Selenium? #57 python selenium click on button #58 Selenium: FirefoxProfile exception Can't load the profile #59 How to select specified node within Xpath node sets by index with Selenium? #60 How to select/get drop down option in Selenium 2

    Read all the top votes questions and answers in a single page. #51: Selenium 2.53 not working on Firefox 47 (Score: 107) Created: 2016-06-08 Last updated: 2017-02-28 Tags: java, selenium, firefox, selenium-webdriver, selenium-firefoxdriver I am …

    Read more

  • Most votes on selenium questions 5

    May 01, 2021 in FAQ

    Most votes on selenium questions 5. #41 Using XPATH to search text containing   #42 How to open a new tab using Selenium WebDriver in Java? #43 Can Selenium interact with an existing browser session? #44 release Selenium chromedriver.exe from memory #45 How to get HTTP Response Code using Selenium WebDriver #46 Is it possible to run selenium (Firefox) web driver without a GUI? #47 unknown error: call function result missing 'value' for Selenium Send Keys even after chromedriver upgrade #48 Class has been compiled by a more recent version of the Java Environment #49 Python Selenium accessing HTML source #50 Getting the return value of Javascript code in Selenium

    Read all the top votes questions and answers in a single page. #41: Using XPATH to search text containing   (Score: 124) Created: 2008-10-29 Last updated: 2017-06-22 Tags: xml, search, xpath, selenium I use XPather Browser to check my XPATH …

    Read more

  • Most votes on selenium questions 4

    May 01, 2021 in FAQ

    Most votes on selenium questions 4. #31 How to make Firefox headless programmatically in Selenium with Python? #32 Webdriver Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms #33 How to save and load cookies using Python + Selenium WebDriver #34 Selenium wait until document is ready #35 How to maximize the browser window in Selenium WebDriver (Selenium 2) using C#? #36 WebDriver click() vs JavaScript click() #37 Using Selenium Web Driver to retrieve value of a HTML input #38 MacOS Catalina(v 10.15.3): Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser #39 Select parent element of known element in Selenium #40 How to select option in drop down protractorjs e2e tests

    Read all the top votes questions and answers in a single page. #31: How to make Firefox headless programmatically in Selenium with Python? (Score: 144) Created: 2017-10-15 Last updated: 2020-11-04 Tags: python, python-3.x, selenium, …

    Read more

  • Most votes on selenium questions 3

    May 01, 2021 in FAQ

    Most votes on selenium questions 3. #21 Can Selenium WebDriver open browser windows silently in the background? #22 Test if element is present using Selenium WebDriver? #23 How can I scroll a web page using selenium webdriver in python? #24 Clear text from textarea with selenium #25 Refreshing Web Page By WebDriver When Waiting For Specific Condition #26 How to run Selenium WebDriver test cases in Chrome #27 Casperjs/PhantomJs vs Selenium #28 Running Selenium WebDriver python bindings in chrome #29 WatiN or Selenium? #30 How to perform mouseover function in Selenium WebDriver using Java?

    Read all the top votes questions and answers in a single page. #21: Can Selenium WebDriver open browser windows silently in the background? (Score: 181) Created: 2013-04-23 Last updated: 2020-11-06 Tags: selenium, selenium-webdriver, webdriver, …

    Read more