René's URL Explorer Experiment


Title: GitHub - xmeter/IOS_Automation_Guide: UIAutomation guide · GitHub

Open Graph Title: GitHub - xmeter/IOS_Automation_Guide: UIAutomation guide

X Title: GitHub - xmeter/IOS_Automation_Guide: UIAutomation guide

Description: UIAutomation guide . Contribute to xmeter/IOS_Automation_Guide development by creating an account on GitHub.

Open Graph Description: UIAutomation guide . Contribute to xmeter/IOS_Automation_Guide development by creating an account on GitHub.

X Description: UIAutomation guide . Contribute to xmeter/IOS_Automation_Guide development by creating an account on GitHub.

Opengraph URL: https://github.com/xmeter/IOS_Automation_Guide

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:6ec81415-470b-6643-9d1e-1b86975776c0
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idCA68:1FA76E:6F033:95378:6A580A80
html-safe-noncefb8cf2c101a850be0e3ba94cb7d90dd989b5fde25dafc52780b9683d19ed1e37
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTY4OjFGQTc2RTo2RjAzMzo5NTM3ODo2QTU4MEE4MCIsInZpc2l0b3JfaWQiOiIxMzAzODc1MzEzMTk0MjQwNjQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacebbc91552aa6910a4e417c7b5cf29cbc54a2437606714d49452955091c09e29e
hovercard-subject-tagrepository:37586653
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/xmeter/IOS_Automation_Guide
twitter:imagehttps://opengraph.githubassets.com/50403c5fa3960ebcfbd551d8a23b85f30b8cf11a8bf1a2046964e0a8ec5e9f33/xmeter/IOS_Automation_Guide
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/50403c5fa3960ebcfbd551d8a23b85f30b8cf11a8bf1a2046964e0a8ec5e9f33/xmeter/IOS_Automation_Guide
og:image:altUIAutomation guide . Contribute to xmeter/IOS_Automation_Guide development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None49c8c15fabcbf356d607a90ca115c13b273e42ff8b74155de050fd229a9b0121
turbo-cache-controlno-cache
go-importgithub.com/xmeter/IOS_Automation_Guide git https://github.com/xmeter/IOS_Automation_Guide.git
octolytics-dimension-user_id4556874
octolytics-dimension-user_loginxmeter
octolytics-dimension-repository_id37586653
octolytics-dimension-repository_nwoxmeter/IOS_Automation_Guide
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id37586653
octolytics-dimension-repository_network_root_nwoxmeter/IOS_Automation_Guide
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3fb1f684e7a833eb1b2d01d39875a2b52cb4fe9b
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/xmeter/IOS_Automation_Guide#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fxmeter%2FIOS_Automation_Guide
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fxmeter%2FIOS_Automation_Guide
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=xmeter%2FIOS_Automation_Guide
Reloadhttps://github.com/xmeter/IOS_Automation_Guide
Reloadhttps://github.com/xmeter/IOS_Automation_Guide
Reloadhttps://github.com/xmeter/IOS_Automation_Guide
xmeter https://github.com/xmeter
IOS_Automation_Guidehttps://github.com/xmeter/IOS_Automation_Guide
Notifications https://github.com/login?return_to=%2Fxmeter%2FIOS_Automation_Guide
Fork 0 https://github.com/login?return_to=%2Fxmeter%2FIOS_Automation_Guide
Star 2 https://github.com/login?return_to=%2Fxmeter%2FIOS_Automation_Guide
Code https://github.com/xmeter/IOS_Automation_Guide
Issues 0 https://github.com/xmeter/IOS_Automation_Guide/issues
Pull requests 0 https://github.com/xmeter/IOS_Automation_Guide/pulls
Actions https://github.com/xmeter/IOS_Automation_Guide/actions
Projects https://github.com/xmeter/IOS_Automation_Guide/projects
Wiki https://github.com/xmeter/IOS_Automation_Guide/wiki
Security and quality 0 https://github.com/xmeter/IOS_Automation_Guide/security
Insights https://github.com/xmeter/IOS_Automation_Guide/pulse
Code https://github.com/xmeter/IOS_Automation_Guide
Issues https://github.com/xmeter/IOS_Automation_Guide/issues
Pull requests https://github.com/xmeter/IOS_Automation_Guide/pulls
Actions https://github.com/xmeter/IOS_Automation_Guide/actions
Projects https://github.com/xmeter/IOS_Automation_Guide/projects
Wiki https://github.com/xmeter/IOS_Automation_Guide/wiki
Security and quality https://github.com/xmeter/IOS_Automation_Guide/security
Insights https://github.com/xmeter/IOS_Automation_Guide/pulse
https://github.com/xmeter/IOS_Automation_Guide
Brancheshttps://github.com/xmeter/IOS_Automation_Guide/branches
Tagshttps://github.com/xmeter/IOS_Automation_Guide/tags
https://github.com/xmeter/IOS_Automation_Guide/branches
https://github.com/xmeter/IOS_Automation_Guide/tags
7 Commitshttps://github.com/xmeter/IOS_Automation_Guide/commits/master/
https://github.com/xmeter/IOS_Automation_Guide/commits/master/
.gitattributeshttps://github.com/xmeter/IOS_Automation_Guide/blob/master/.gitattributes
.gitattributeshttps://github.com/xmeter/IOS_Automation_Guide/blob/master/.gitattributes
.gitignorehttps://github.com/xmeter/IOS_Automation_Guide/blob/master/.gitignore
.gitignorehttps://github.com/xmeter/IOS_Automation_Guide/blob/master/.gitignore
README.mdhttps://github.com/xmeter/IOS_Automation_Guide/blob/master/README.md
README.mdhttps://github.com/xmeter/IOS_Automation_Guide/blob/master/README.md
READMEhttps://github.com/xmeter/IOS_Automation_Guide
https://github.com/xmeter/IOS_Automation_Guide#ios自动化指南
https://github.com/xmeter/IOS_Automation_Guide#前言
https://github.com/xmeter/IOS_Automation_Guide#随着进入移动互联网时代移动操作系统在人们的生活当中占有的比重越来越高而在移动操作系统当中最主流的就是android和ios而随着移动项目的逐渐开展越来越多的公司对自动化的需求也逐渐强烈那么现在我们就通过苹果公司自己的这套自动化工具uiautomation来进行一个解说环境搭建
https://github.com/xmeter/IOS_Automation_Guide#开始第一个uia脚本
https://github.com/xmeter/IOS_Automation_Guide#在模拟器上
https://camo.githubusercontent.com/c19cf7dccbc1b8d4f9c6b8c743ccf60178738a4d0f259b133ceb872497398e65/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f31372f5964574171304f332e6a7067
https://camo.githubusercontent.com/d0b1c96f7e12f8f2c3fc1e9bb062ab03e89592db28faf29113cf06ed68f1e905/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f31372f6359725444692e6a7067
https://camo.githubusercontent.com/2c05f066f7187ca1d1410c7d411c4758505829fad8aea6164436d6ac62966301/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f31372f5639546d6a57312e6a7067
https://camo.githubusercontent.com/0061cbeade7a9e32e0690b4fdd3eb59b3acb4080d299fcfb6eff361bf2351f7b/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f31372f4d776c4e366175372e6a7067
https://camo.githubusercontent.com/4eecde7d3b20c770bef225440baf275b40c1942115b8993cc70bda046d81a29d/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f31372f434876472e6a7067
https://camo.githubusercontent.com/bf6ab7f29dd0134716e2c86ecd0732ab9624678f4aa8fd68e398c149a63576a0/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f31382f334468627274372e6a7067
https://camo.githubusercontent.com/534faa9d061af28f12e236c927b159af1a73c653ec8b7136537d45a77e5f8879/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f31382f4d4a686578342e6a7067
https://camo.githubusercontent.com/392e2acdb09dd0e3fa0ae6634e1a80d9012ab600794e062ac63a52ad11a68386/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f31382f73374a344f302e6a7067
https://camo.githubusercontent.com/4eecde7d3b20c770bef225440baf275b40c1942115b8993cc70bda046d81a29d/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f31372f434876472e6a7067
https://github.com/xmeter/IOS_Automation_Guide#第一个uia脚本的书写
https://camo.githubusercontent.com/2be67fe560e57eacc79a985aadbf07983f8157e403792370ec464da53ce6850e/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f32342f6a5a4741594375482e6a7067
https://camo.githubusercontent.com/d814477440b4910a2a6c1f324fd45f1d9c26b7553ce74be4022536bd68d5edd3/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f32342f3444366f666746657a2e6a7067
https://camo.githubusercontent.com/5031a3e48d15cba72dda50e885084deab0a7efaacf7c892e10fe146ec52d6cb3/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f32342f7669564e334a31376b522e6a7067
https://github.com/xmeter/IOS_Automation_Guide#首先我们在instruments的script界面里面写下前面的代码然后点击左上角的record键运行我们的脚本然后在运行结束以后我们要切换到trace-log界面去就能看到一开始我们看到的元素结构了录制脚本
https://camo.githubusercontent.com/a64c8d39e70fa6f3c8692171121ed0b26f5b15ebf21a21fd1fc252cc7eb62a69/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f32342f376d617a75354d2e6a7067
https://github.com/xmeter/IOS_Automation_Guide#录制看起来是个很美好的功能然而就跟大多数具有录制功能的工具一样录制生成的脚本很多都是根据坐标来操作的那么当你换了设备或者是分辨率以后整个脚本就基本没啥用处了所以从我的角度来讲是不推荐大家用录制功能的元素定位
https://camo.githubusercontent.com/26418fcffb8ae8f21773227fa0fab5f76dc06b0225ad74a6d66ace9f2999ad1e/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f32352f3668354833415a2e6a7067
https://camo.githubusercontent.com/4cd2959443606fb8f736909a5dabf2712d5defbe40ebd91b671c6187a8ceed00/68747470733a2f2f6765656b706963732e6e65742f696d616765732f323031352f30362f32352f653139624c486f6b6a2e6a7067
https://github.com/xmeter/IOS_Automation_Guide#如何判断我们该用哪个tag来表示要寻找的元素
这里https://developer.apple.com/library/ios/documentation/ToolsLanguages/Reference/UIAElementClassReference/index.html#//apple_ref/doc/uid/TP40009903
https://github.com/xmeter/IOS_Automation_Guide#借助appium-inspector来帮助定位
这里http://brew.sh/index_zh-cn.html
https://github.com/xmeter/IOS_Automation_Guide#uia的api解析
https://github.com/xmeter/IOS_Automation_Guide#单击tap
https://github.com/xmeter/IOS_Automation_Guide#双击doubletap
https://github.com/xmeter/IOS_Automation_Guide#滚动scrolltovisible
https://github.com/xmeter/IOS_Automation_Guide#两个手指点击twofingertap
Readme https://github.com/xmeter/IOS_Automation_Guide#readme-ov-file
Please reload this pagehttps://github.com/xmeter/IOS_Automation_Guide
Activityhttps://github.com/xmeter/IOS_Automation_Guide/activity
0 forkshttps://github.com/xmeter/IOS_Automation_Guide/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fxmeter%2FIOS_Automation_Guide&report=xmeter+%28user%29
Releaseshttps://github.com/xmeter/IOS_Automation_Guide/releases
Packages 0https://github.com/users/xmeter/packages?repo_name=IOS_Automation_Guide
Please reload this pagehttps://github.com/xmeter/IOS_Automation_Guide
Contributorshttps://github.com/xmeter/IOS_Automation_Guide/graphs/contributors
Please reload this pagehttps://github.com/xmeter/IOS_Automation_Guide
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.