Firefox + Selenium in python: How to interactively get an element html?
问题 Im using Python + Selenium + Splinter + Firefox to create an interactive web crawler. The python script offers the options, then Selenium opens Firefox and sends some orders. Right now, I need to let the python script know the web element that the user wants to interact with. The method I currently use is: Right-click the item in the website (Firefox), click 'inspect element', then click in the Firefox inspector, click 'copy HTML', then feed it manually to the script, which will then be able