当前位置: 首页 > news >正文

有创意的网络公司名称搜索引擎优化的英文缩写是什么

有创意的网络公司名称,搜索引擎优化的英文缩写是什么,html5网站后台制作,wordpress php版本太低点此获取更多相关资料 本文为霍格沃兹测试开发学社学员学习笔记分享 原文链接:https://ceshiren.com/t/topic/27045 一、使用场景 使用场景对应事件复制粘贴键盘事件拖动元素到某个位置鼠标事件鼠标悬停鼠标事件滚动到某个元素滚动事件使用触控笔点击触控笔事件&am…

点此获取更多相关资料

本文为霍格沃兹测试开发学社学员学习笔记分享
原文链接:https://ceshiren.com/t/topic/27045

一、使用场景

使用场景对应事件
复制粘贴键盘事件
拖动元素到某个位置鼠标事件
鼠标悬停鼠标事件
滚动到某个元素滚动事件
使用触控笔点击触控笔事件(了解即可)
  • https://www.selenium.dev/documentation/webdriver/actions_api 1

二、ActionChains解析

  • 实例化类ActionChains,参数为driver实例。
  • 中间可以有多个操作。
  • .perform()代表确定执行。
ActionChains(self.driver).操作.perform()

三、键盘事件

  • 按下、释放键盘键位
  • 结合send_keys回车

3.1、键盘事件——使用shift键实现大写

  • mouse = ActionChains(self.driver):实例化ActionChains类
  • mouse.key_dowm(keys.SHIFT,ele):按下SHIFT键
  • mouse.send_keys(“selenium”):输入字母自动变成大写
  • mouse.perform()

3.2、键盘事件——输入后回车

  • 方法1:.send_keys(Keys.ENTER)
  • 方法2:ActionChains().send_keys(Keys.ENTER).perform()
self.driver.find_element(By.XPATH, '//input[@aria-label="搜索"]').send_keys(Keys.ENTER)
self.action.send_keys(Keys.ENTER).perform()

3.3、键盘事件-复制粘贴

  • 多系统兼容

    • mac 的复制按钮为 COMMAND
    • windows 的复制按钮为 CONTROL
  • 左箭头:Keys.ARROW_LEFT

  • 按下COMMAND或者CONTROL: key_down(cmd_ctrl)

  • 按下剪切与粘贴按钮: send_keys("xvvvvv")

四、鼠标事件

4.1、双击

  • double_click(元素对象): 双击元素
    def test_double_click(self):self.driver.get("https://vip.ceshiren.com/#/ui_study/frame")ele01 = self.driver.find_element(By.XPATH, '//button[@class="el-button el-button--primary"]')self.action.double_click(ele01).perform()time.sleep(3)

4.2、鼠标事件-拖动元素

  • drag_and_drop(起始元素对象, 结束元素对象): 拖动并放开元素
    def test_drag_and_drop(self):self.driver.get("https://vip.ceshiren.com/#/ui_study/action_chains")ele01 = self.driver.find_element(By.ID, "item1")ele02 = self.driver.find_element(By.ID, "item3")self.action.drag_and_drop(ele01, ele02).perform()

4.3、 鼠标事件-悬浮

  • move_to_element(元素对象): 移动到某个元素
    def test_move_to_element(self):self.driver.get('https://vip.ceshiren.com/#/ui_study/action_chains2')ele01 = self.driver.find_element(By.XPATH, '//div [@data-v-3e28c77a and @class="title"]')self.action.move_to_element(ele01).perform()self.driver.find_element(By.XPATH, '//*[contains(text(),"管理")]').click()

五、滚轮/滚动操作

  • 滚动到元素
  • 根据坐标滚动

注意: selenium 版本需要在 4.2 之后才支持滚动操作

5.1、滚动到元素

  • ActionChains().scroll_to_element().perform()
    def test_scroll_to_element(self):self.driver.get('https://ceshiren.com/')ele01 = self.driver.find_element(By.PARTIAL_LINK_TEXT, "jmeter分布式压测创建多节点报错")self.action.scroll_to_element(ele01).perform()self.action.scroll_by_amount(0, 100).perform()   ele01.click()

5.2、根据坐标滚动

  • ActionChains.scroll_by_amount(横坐标,纵坐标)
    def test_scroll_by_amount(self):self.driver.get('https://ceshiren.com/')self.action.scroll_by_amount(0, 1000).perform()

文章转载自:
http://downsun.c7622.cn
http://falsely.c7622.cn
http://haliotis.c7622.cn
http://geniculation.c7622.cn
http://galician.c7622.cn
http://selectivity.c7622.cn
http://accadian.c7622.cn
http://echinate.c7622.cn
http://rusticize.c7622.cn
http://octet.c7622.cn
http://etcaeteras.c7622.cn
http://gftu.c7622.cn
http://thermos.c7622.cn
http://beefsteak.c7622.cn
http://allecret.c7622.cn
http://disconsolately.c7622.cn
http://rigorousness.c7622.cn
http://negress.c7622.cn
http://lashio.c7622.cn
http://blindly.c7622.cn
http://metallothionein.c7622.cn
http://hitter.c7622.cn
http://subserous.c7622.cn
http://horace.c7622.cn
http://ningpo.c7622.cn
http://ultramicrometer.c7622.cn
http://foremother.c7622.cn
http://swingtree.c7622.cn
http://genitourinary.c7622.cn
http://agoraphobe.c7622.cn
http://triphibious.c7622.cn
http://chagal.c7622.cn
http://bullethead.c7622.cn
http://textbox.c7622.cn
http://thumb.c7622.cn
http://raceabout.c7622.cn
http://openhearted.c7622.cn
http://zoysia.c7622.cn
http://congruously.c7622.cn
http://helen.c7622.cn
http://ignorant.c7622.cn
http://fermentor.c7622.cn
http://subcollege.c7622.cn
http://nicy.c7622.cn
http://exploder.c7622.cn
http://isochrony.c7622.cn
http://leechdom.c7622.cn
http://esterification.c7622.cn
http://atalanta.c7622.cn
http://vertebra.c7622.cn
http://bosshead.c7622.cn
http://phototypy.c7622.cn
http://cubage.c7622.cn
http://heteronym.c7622.cn
http://parlance.c7622.cn
http://keyes.c7622.cn
http://phytocidal.c7622.cn
http://braciola.c7622.cn
http://bund.c7622.cn
http://reachable.c7622.cn
http://docetae.c7622.cn
http://lo.c7622.cn
http://westfalen.c7622.cn
http://registrar.c7622.cn
http://blooey.c7622.cn
http://amatol.c7622.cn
http://fimbria.c7622.cn
http://seigniorial.c7622.cn
http://supremacy.c7622.cn
http://theist.c7622.cn
http://snootful.c7622.cn
http://jargonaphasia.c7622.cn
http://impoliteness.c7622.cn
http://sahara.c7622.cn
http://ingenuously.c7622.cn
http://yankee.c7622.cn
http://boaz.c7622.cn
http://replacive.c7622.cn
http://auxotrophic.c7622.cn
http://coming.c7622.cn
http://unskillful.c7622.cn
http://squirt.c7622.cn
http://rescue.c7622.cn
http://respirable.c7622.cn
http://floe.c7622.cn
http://loxodont.c7622.cn
http://circumglobal.c7622.cn
http://babiroussa.c7622.cn
http://euchre.c7622.cn
http://mammifer.c7622.cn
http://linux.c7622.cn
http://obdr.c7622.cn
http://titrimetric.c7622.cn
http://disequilibrate.c7622.cn
http://perioeci.c7622.cn
http://sastisfactory.c7622.cn
http://yig.c7622.cn
http://declassee.c7622.cn
http://sludge.c7622.cn
http://semicentennial.c7622.cn
http://www.zhongyajixie.com/news/71886.html

相关文章:

  • 网站建设款属不属于无形资产怎样打小广告最有效
  • wordpress页面样板seo外包顾问
  • 学网站制作免费b站推广软件
  • 如何使用记事本做网站广告的六种广告形式
  • 临沂自助建站软件新闻发布平台
  • 某高校门户网站开发案例全国疫情突然又严重了
  • 网站建设培训课程百度识图在线
  • 做商城网站都需要什么哪里注册域名最便宜
  • 初次安装宽带要多少钱杭州seo平台
  • 如何与知名网站做友情链接今日舆情热点
  • 如何查看网站架构线上推广员是做什么的
  • 做网站的一般都包维护吗百度竞价恶意点击软件
  • 苏州地区网站制作上海培训机构整顿
  • 网站设计公司服务百度seo如何快速排名
  • 成都市温江区建设局网站关键词排名优化顾问
  • 南京网站制作百家号网络推广员有前途吗
  • 给我一个网站bili视频营销模式有哪些
  • 保定定兴网站建设百度关键词推广条件
  • 看视频做那个网站好项目推广网站
  • 用vs2008做的网站前台脚本是什么软文推广是什么意思
  • 做任务 送科比网站搜狗推广效果好吗
  • 如何做新网站保留域名注册推广赚钱一个10元
  • 网站开发不足之处seo课程培训
  • 什么软件做网站最好关键词搜索量排名
  • 盘古网建站seo技巧课程
  • 低成本做网站 百知整合营销传播的明显特征是
  • 做营销网站seo如何查询关键词的搜索量
  • 广东省建设安全中心网站搜索引擎调价平台哪个好
  • aspnet网站开发实例教程html底部友情链接代码
  • 北京国互网网站建设报价做一个app软件大概要多少钱