web front end -- knowledge speed learning of Javascript

Environment construction of JavaScript Development environment: webstorm, hbulider Running environment: chrome browser code Knowledge 1 Several ways of writing JavaScript 1 2 3 4. Realize the display of data in the page 5 prompt Popup 5. Define variables // var a =1; global variable // var a =1; // alert(typeof (a) ...

Posted by DigitalDesign on Mon, 08 Nov 2021 12:57:02 -0800

Basic usage of day3 selenium

selenium basic usage Running environment: from selenium.webdriver import Chrome 1. Create browser object b = Chrome('files/chromedriver') 2. Open the page b.get('https://www.qidian.com/rank/yuepiao/month10/') 3. Get web data print(b.page_source) 4. Close the web page b.close() selenium common configurations Running environment: f ...

Posted by tbaink2000 on Thu, 04 Nov 2021 13:02:49 -0700