
python
w_t_o
这个作者很懒,什么都没留下…
展开
-
selenium中(python):javascript显示错误问题解决方案
参考文章:https://www.cnblogs.com/Lara1798/p/12942959.html错误1:ElementClickInterceptedException: Message: element click intercepted: Element <a href="" ng-click="show_page_addexam()">... </a> is not clickable at point (459, 36) element.click..转载 2020-09-04 23:06:07 · 3544 阅读 · 0 评论 -
selenium定位输入框特殊下拉选项
selenium对于下拉对话框的选项选择:如下图所示:审查下拉列表元素可以发现,该下拉列表不属于select元素,而是通过输入文字,利用javascript搜索关联数据二次渲染而得到的对话框,因此利用selenium.find_element系列往往不能直接选中下拉列表框。这时可以采用动作链的方法对输入框的鼠标进行悬停,然后再用xpath可以选中下拉选项,部分代码如下:#定义动作链ActionChains(browser).move_to_element(input).click原创 2020-09-04 23:02:57 · 1706 阅读 · 0 评论 -
pyecharts不能完整显示地图的解决方法
1 首先可能因为缺少ehcarts的地图扩展包,需要手动安装#中国省份地图包pip install echarts-china-provinces-pypkg#中国城市地图包pip install echarts-china-cities-pypkgpip install echarts-china-counties-pypkgpip install echarts-china-misc-pypkgpip install echarts-united-kingdom-pypkg最终要原创 2020-08-27 17:36:40 · 2542 阅读 · 0 评论 -
python: str.split与re.split()辨析
str.split()原创 2020-08-11 15:29:26 · 250 阅读 · 0 评论