1) Install it if you haven’t yet: $npm install weinre -g 2) run it: $ weinre -boundHost [your ip address here or localhost] 3) Put the following reference in the page you are trying to troubleshoot: <script src=”http//[the ip address you entered]:8080/target/target-script.js#anonymous”></script> 4) Point your browser to the ip address you entered, that will give […]
Category Archives: testing
selenium: python webdriver choosing a select box option
from selenium import webdriver from selenium.webdriver.support.ui import Select … selectBox = Select(driver.find_element_by_id(….)) selectBox.select_by_visible_text(….)