当前位置:网站首页>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 ?
边栏推荐
- New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code
- [eight sorts ④] merge sort, sort not based on comparison (count sort, cardinal sort, bucket sort)
- [conference resources] the Third International Conference on Automation Science and Engineering in 2022 (jcase 2022)
- Creating logical volumes and viewing and modifying attributes for AIX storage management
- Promise and modular programming
- Barbie q! How to analyze the new game app?
- cookie、session、tooken
- JMeter做接口测试,如何提取登录Cookie
- Excel PivotTable
- Xinniuniu blind box wechat applet source code_ Support flow realization, with complete material pictures
猜你喜欢
AIX存储管理之卷组属性的查看和修改(二)
Evolution of Himalayan self-developed gateway architecture
SQL injection for Web Security (2)
969 interlaced string
[dynamic planning] interval dp:p3205 Chorus
[eight sorts ④] merge sort, sort not based on comparison (count sort, cardinal sort, bucket sort)
Synthetic watermelon game wechat applet source code / wechat game applet source code
I'll teach you to visit Amazon RDS for a year and build a MySQL cloud database (only 10 minutes, really fragrant)
Develop a simple login logic based on SSM
Schrodinger's Japanese learning applet source code
随机推荐
Global and Chinese markets for power over Ethernet (POE) solutions 2022-2028: Research Report on technology, participants, trends, market size and share
2022 safety officer-b certificate examination practice questions simulated examination platform operation
I'll teach you to visit Amazon RDS for a year and build a MySQL cloud database (only 10 minutes, really fragrant)
Random avatar encyclopedia, multi category wechat applet source code with history_ Support traffic master
Cat Party (Easy Edition)
[wechat authorized login] the small program developed by uniapp realizes the function of obtaining wechat authorized login
Excel PivotTable
Global and Chinese market of avionics systems 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese markets of edge AI software 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of aircraft MRO software 2022-2028: Research Report on technology, participants, trends, market size and share
Zak's latest "neural information transmission", with slides and videos
gradle
Mathematics - feelings -20220215
Source code of Qiwei automatic card issuing system
PLC Analog input analog conversion FB s_ ITR (Mitsubishi FX3U)
New version of free mobile phone, PC, tablet, notebook four terminal Website thumbnail display diagram online one click to generate website source code
【八大排序①】插入排序(直接插入排序、希尔排序)
AIX存储管理之总结篇
Schrodinger's Japanese learning applet source code
Leetcode skimming: binary tree 03 (post order traversal of binary tree)