当前位置:网站首页>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 ?
边栏推荐
- Picture puzzle wechat applet source code_ Support multi template production and traffic master
- If the browser is accidentally closed, how does react cache the forms filled out by users?
- Develop a simple login logic based on SSM
- PLC Analog input analog conversion FB s_ ITR (Mitsubishi FX3U)
- cookie、session、tooken
- Iclr2022 | spherenet and g-spherenet: autoregressive flow model for 3D molecular graph representation and molecular geometry generation
- 测试人进阶技能:单元测试报告应用指南
- 【js通过url下载文件】
- Global and Chinese market of wireless chipsets 2022-2028: Research Report on technology, participants, trends, market size and share
- Summary of Aix storage management
猜你喜欢
![[eight sorting ③] quick sorting (dynamic graph deduction Hoare method, digging method, front and back pointer method)](/img/c2/7ebc67e9b886e3baf3c98489bf9bce.png)
[eight sorting ③] quick sorting (dynamic graph deduction Hoare method, digging method, front and back pointer method)

【微信授权登录】uniapp开发小程序,实现获取微信授权登录功能

Leetcode skimming: stack and queue 04 (delete all adjacent duplicates in the string)
![[eight sorts ①] insert sort (direct insert sort, Hill sort)](/img/8d/2c45a8fb582dabedcd2658cd7c54bc.png)
[eight sorts ①] insert sort (direct insert sort, Hill sort)

Leetcode skimming: binary tree 03 (post order traversal of binary tree)

XMind思维导图

2022 operation of simulated examination platform for melting welding and thermal cutting work license

gradle

【八大排序④】归并排序、不基于比较的排序(计数排序、基数排序、桶排序)

2022 low voltage electrician examination questions and answers
随机推荐
Leetcode skimming: stack and queue 06 (top k high-frequency elements)
The 8-year salary change of testers makes netizens envy it: you pay me one year's salary per month
Evolution of Himalayan self-developed gateway architecture
AIX存储管理之卷组属性的查看和修改(二)
关于ASP.NET CORE使用DateTime日期类型参数的一个小细节
How to reflect and solve the problem of bird flight? Why are planes afraid of birds?
Keepalived introduction and installation
Picture puzzle wechat applet source code_ Support multi template production and traffic master
2022 high altitude installation, maintenance and removal of test question simulation test platform operation
BiLSTM-CRF代码实现
Review notes of compilation principles
@Valid parameter verification does not take effect
MySQL winter vacation self-study 2022 12 (4)
一名优秀的软件测试人员,需要掌握哪些技能?
Global and Chinese market of ancillary software 2022-2028: Research Report on technology, participants, trends, market size and share
【八大排序①】插入排序(直接插入排序、希尔排序)
Entrepreneurship is a little risky. Read the data and do a business analysis
gradle
Global and Chinese market of safety detection systems 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of avionics systems 2022-2028: Research Report on technology, participants, trends, market size and share