目前瀏覽器是ubuntu下的firefox是在python版的selenium給firefox頁面寫入js代碼由于要跑一個小腳本,瀏覽器測試之類的,因為對js不太明白1$("html, body").animate({ scrollTop: $(document).height() }, "fast");
2window.location.reload()
第一條js代碼可以在頁面執行。 可是為什么第二條代碼不行呢,缺少了什么呀?
函數式編程
2023-04-16 17:13:48