当前位置:网站首页>Appium inspector can directly locate the WebView page. Does anyone know the principle
Appium inspector can directly locate the WebView page. Does anyone know the principle
2022-07-02 01:08:00 【Mango is not a procedural ape】
background : Be a hybrid app Automation , Inadvertently found that it can be used native app The way to locate webview, And the script can run normally . The suspicion is Appium New features of the higher version (1.21 edition ). Now use lemon class APP Of “ Lemon community ” The situation encountered in the plate reproduction work , It did come back .
Environmental Science :Appium Desktop 1.21 edition ,Chrome driver 75.0.3770.140. Night God Simulator . start-up Appium Desktop when , stay Advanced-Android-Chromedriver Binary Path in , To configure Chrome driver Local path , Again save as preset, And start the .( Next time you can click preset, Select your saved preset Direct start ). Here's the picture , The key is the scribing option

After starting , open Appium inspector, Enter again “ Lemon community ”, Use appium inspector Sync page , At first, it shows a whole webview, However, the following operations are required : First circle the position in the figure below , Choose webview, Retrace native app

After cutting back , It can be like native app Also locate the current webview Page , And the location information should be able to run through the script .
Here's the picture : Elements that could not be located are now recognized as native app Elements , You can locate

I'd like to ask for advice here , yes Appium hold webview Convert to native app Yes, I don't know ? Whether it is Appium New features of a version ?
边栏推荐
- Slf4j print abnormal stack information
- Global and Chinese market of ancillary software 2022-2028: Research Report on technology, participants, trends, market size and share
- 教你白嫖Amazon rds一年并搭建MySQL云数据库(只需10分钟,真香)
- King combat power query renamed toolbox applet source code - with traffic main incentive advertisement
- How does schedulerx help users solve the problem of distributed task scheduling?
- gradle
- RFID让固定资产盘点更快更准
- The first "mobile cloud Cup" empty publicity meeting, looking forward to working with developers to create a new world of computing!
- Circular statements in shell programming
- Global and Chinese market of avionics systems 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢

Weather forecast applet source code weather wechat applet source code

sso单点登录的实现。

What skills does an excellent software tester need to master?

What does open loop and closed loop mean?

Upgraded wechat tool applet source code for mobile phone detection - supports a variety of main traffic modes

Leetcode skimming: stack and queue 03 (valid parentheses)

Leetcode skimming: stack and queue 01 (realizing queue with stack)

Datawhale community blackboard newspaper (issue 1)
![[eight sorts ①] insert sort (direct insert sort, Hill sort)](/img/8d/2c45a8fb582dabedcd2658cd7c54bc.png)
[eight sorts ①] insert sort (direct insert sort, Hill sort)

The 8-year salary change of testers makes netizens envy it: you pay me one year's salary per month
随机推荐
Friends circle community program source code sharing
Global and Chinese markets for freight and logistics 2022-2028: Research Report on technology, participants, trends, market size and share
什么是商业养老保险?商业养老保险安全靠谱吗?
Excel search and reference function
【底部弹出-选择器】uniapp Picker组件——底部弹起的滚动选择器
Global and Chinese market of safety detection systems 2022-2028: Research Report on technology, participants, trends, market size and share
gradle
Deb file installation
测试人进阶技能:单元测试报告应用指南
How to determine whether the current script is in the node environment or the browser environment?
【js通过url下载文件】
With the acquisition of Xilinx, AMD is more than "walking on two legs" | Jiazi found
Review notes of compilation principles
[dynamic planning] interval dp:p3205 Chorus
Promise and modular programming
Daily work and study notes
Mathematics - feelings -20220215
Datawhale 社区黑板报(第1期)
Keepalived introduction and installation
RFID让固定资产盘点更快更准