René's URL Explorer Experiment


Title: I'm not able to perform an easy task · Issue #597 · appium/python-client · GitHub

Open Graph Title: I'm not able to perform an easy task · Issue #597 · appium/python-client

X Title: I'm not able to perform an easy task · Issue #597 · appium/python-client

Description: Hello, I just started using Appium under windows, with uiautomator2. I'm trying to do a little click on an element, nothing else: els1 = driver.find_elements(By.ID, "com.instagram.android:id/tab_avatar") this is where it crashes which is...

Open Graph Description: Hello, I just started using Appium under windows, with uiautomator2. I'm trying to do a little click on an element, nothing else: els1 = driver.find_elements(By.ID, "com.instagram.android:id/tab_av...

X Description: Hello, I just started using Appium under windows, with uiautomator2. I'm trying to do a little click on an element, nothing else: els1 = driver.find_elements(By.ID, "com.instagram.android:...

Opengraph URL: https://github.com/appium/python-client/issues/597

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"I'm not able to perform an easy task","articleBody":"Hello, I just started using Appium under windows, with uiautomator2. I'm trying to do a little click on an element, nothing else:\r\n`els1 = driver.find_elements(By.ID, \"com.instagram.android:id/tab_avatar\")` this is where it crashes\r\nwhich is the same as `els1 = driver.find_elements_by_id(\"com.instagram.android:id/tab_avatar\")` as suggested by Appium, but deprecated..\r\n\r\nThis is the full code:\r\n\r\n```\r\nfrom appium import webdriver\r\nfrom selenium.webdriver.common.by import By\r\n\r\ndesired_caps = {\r\n    \"platformName\": \"Android\",\r\n    \"automationName\": \"UiAutomator2\",\r\n    \"deviceName\": \"emulator-5554\",\r\n    \"appPackage\": \"com.instagram.android\",\r\n    \"appActivity\": \"com.instagram.mainactivity.MainActivity\",\r\n    \"noReset\": True,\r\n    \"fullReset\": False,\r\n    \"newCommandTimeout\": 120\r\n}\r\ndriver = webdriver.Remote(\"http://localhost:4723/wd/hub\", desired_caps)\r\nels1 = driver.find_elements(By.ID, \"com.instagram.android:id/tab_avatar\")\r\nels1[0].click()\r\ndriver.quit()\r\n```\r\nThis is what I get:\r\n\r\n\u003e Traceback (most recent call last):\r\n\u003e   File \"c:\\users\\dedil\\appdata\\local\\programs\\python\\python37\\lib\\runpy.py\", line 193, in _run_module_as_main\r\n\u003e     \"__main__\", mod_spec)\r\n\u003e   File \"c:\\users\\dedil\\appdata\\local\\programs\\python\\python37\\lib\\runpy.py\", line 85, in _run_code\r\n\u003e     exec(code, run_globals)\r\n\u003e   File \"c:\\Users\\dedil\\.vscode\\extensions\\ms-python.python-2021.3.680753044\\pythonFiles\\lib\\python\\debugpy\\__main__.py\", line 45, in \u003cmodule\u003e\r\n\u003e     cli.main()\r\n\u003e   File \"c:\\Users\\dedil\\.vscode\\extensions\\ms-python.python-2021.3.680753044\\pythonFiles\\lib\\python\\debugpy/..\\debugpy\\server\\cli.py\", line 444, in main\r\n\u003e     run()\r\n\u003e   File \"c:\\Users\\dedil\\.vscode\\extensions\\ms-python.python-2021.3.680753044\\pythonFiles\\lib\\python\\debugpy/..\\debugpy\\server\\cli.py\", line 285, in run_file\r\n\u003e     runpy.run_path(target_as_str, run_name=compat.force_str(\"__main__\"))\r\n\u003e   File \"c:\\users\\dedil\\appdata\\local\\programs\\python\\python37\\lib\\runpy.py\", line 263, in run_path\r\n\u003e     pkg_name=pkg_name, script_name=fname)\r\n\u003e   File \"c:\\users\\dedil\\appdata\\local\\programs\\python\\python37\\lib\\runpy.py\", line 96, in _run_module_code\r\n\u003e     mod_name, mod_spec, pkg_name, script_name)\r\n\u003e   File \"c:\\users\\dedil\\appdata\\local\\programs\\python\\python37\\lib\\runpy.py\", line 85, in _run_code\r\n\u003e     exec(code, run_globals)\r\n\u003e   File \"c:\\Users\\dedil\\OneDrive\\Documents\\GitHub\\bot\\GramAddict\\core\\test.py\", line 32, in \u003cmodule\u003e\r\n\u003e     els1 = driver.find_elements(By.ID, \"com.instagram.android:id/tab_avatar\")\r\n\u003e   File \"c:\\Users\\dedil\\OneDrive\\Documents\\GitHub\\bot\\.venv\\lib\\site-packages\\appium\\webdriver\\webdriver.py\", line 308, in find_elements      \r\n\u003e     return self.execute(RemoteCommand.FIND_ELEMENTS, {'using': by, 'value': value})['value'] or []\r\n\u003e   File \"c:\\Users\\dedil\\OneDrive\\Documents\\GitHub\\bot\\.venv\\lib\\site-packages\\selenium\\webdriver\\remote\\webdriver.py\", line 371, in execute   \r\n\u003e     response.get('value', None))\r\n\u003e   File \"c:\\Users\\dedil\\OneDrive\\Documents\\GitHub\\bot\\.venv\\lib\\site-packages\\selenium\\webdriver\\remote\\webdriver.py\", line 345, in _unwrap_value\r\n\u003e     return list(self._unwrap_value(item) for item in value)\r\n\u003e   File \"c:\\Users\\dedil\\OneDrive\\Documents\\GitHub\\bot\\.venv\\lib\\site-packages\\selenium\\webdriver\\remote\\webdriver.py\", line 345, in \u003cgenexpr\u003e \r\n\u003e     return list(self._unwrap_value(item) for item in value)\r\n\u003e   File \"c:\\Users\\dedil\\OneDrive\\Documents\\GitHub\\bot\\.venv\\lib\\site-packages\\selenium\\webdriver\\remote\\webdriver.py\", line 339, in _unwrap_value\r\n\u003e     return self.create_web_element(value['element-6066-11e4-a52e-4f735466cecf'])\r\n\u003e   File \"c:\\Users\\dedil\\OneDrive\\Documents\\GitHub\\bot\\.venv\\lib\\site-packages\\appium\\webdriver\\webdriver.py\", line 323, in create_web_element \r\n\u003e     return MobileWebElement(self, element_id, w3c)\r\n\u003e **TypeError: __init__() takes 3 positional arguments but 4 were given**\r\n","author":{"url":"https://github.com/mastrolube","@type":"Person","name":"mastrolube"},"datePublished":"2021-04-01T23:06:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/597/python-client/issues/597"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0a6cdd5a-641c-85c6-4341-9261f214a65b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8CC2:1D1BFA:6A6A330:909C219:6A5E2565
html-safe-nonce9c96e83d0f6ffceedf9d588e89c8ce85659202ce317d59580ae2a3f956d72efc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0MyOjFEMUJGQTo2QTZBMzMwOjkwOUMyMTk6NkE1RTI1NjUiLCJ2aXNpdG9yX2lkIjoiNTQxNzIwNzI2MTEzMDc5NDM0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac94c37d5eabfaedda2bdf46d4eed22ad7246f1fbe4a8e7f1aef8f71b8376b2aa7
hovercard-subject-tagissue:848849088
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/appium/python-client/597/issue_layout
twitter:imagehttps://opengraph.githubassets.com/daaaace34a23ea8129be6c76a72279647dd318632a7d7c5beb2238b0e7381393/appium/python-client/issues/597
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/daaaace34a23ea8129be6c76a72279647dd318632a7d7c5beb2238b0e7381393/appium/python-client/issues/597
og:image:altHello, I just started using Appium under windows, with uiautomator2. I'm trying to do a little click on an element, nothing else: els1 = driver.find_elements(By.ID, "com.instagram.android:id/tab_av...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemastrolube
hostnamegithub.com
expected-hostnamegithub.com
Nonee5010f4d2748a3cbef86e1580413ff14701bd99f255268dfb4a2857c77e2cc7c
turbo-cache-controlno-preview
go-importgithub.com/appium/python-client git https://github.com/appium/python-client.git
octolytics-dimension-user_id3221291
octolytics-dimension-user_loginappium
octolytics-dimension-repository_id18525395
octolytics-dimension-repository_nwoappium/python-client
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id18525395
octolytics-dimension-repository_network_root_nwoappium/python-client
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
release7d23604c4a8ce0274b4c71bb2adbe6e1c9d5904f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/appium/python-client/issues/597#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fappium%2Fpython-client%2Fissues%2F597
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%2Fappium%2Fpython-client%2Fissues%2F597
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=appium%2Fpython-client
Reloadhttps://github.com/appium/python-client/issues/597
Reloadhttps://github.com/appium/python-client/issues/597
Reloadhttps://github.com/appium/python-client/issues/597
Please reload this pagehttps://github.com/appium/python-client/issues/597
appium https://github.com/appium
python-clienthttps://github.com/appium/python-client
Notifications https://github.com/login?return_to=%2Fappium%2Fpython-client
Fork 570 https://github.com/login?return_to=%2Fappium%2Fpython-client
Star 1.8k https://github.com/login?return_to=%2Fappium%2Fpython-client
Code https://github.com/appium/python-client
Issues 24 https://github.com/appium/python-client/issues
Pull requests 9 https://github.com/appium/python-client/pulls
Actions https://github.com/appium/python-client/actions
Wiki https://github.com/appium/python-client/wiki
Security and quality 0 https://github.com/appium/python-client/security
Insights https://github.com/appium/python-client/pulse
Code https://github.com/appium/python-client
Issues https://github.com/appium/python-client/issues
Pull requests https://github.com/appium/python-client/pulls
Actions https://github.com/appium/python-client/actions
Wiki https://github.com/appium/python-client/wiki
Security and quality https://github.com/appium/python-client/security
Insights https://github.com/appium/python-client/pulse
I'm not able to perform an easy taskhttps://github.com/appium/python-client/issues/597#top
Selenium v4https://github.com/appium/python-client/issues?q=state%3Aopen%20label%3A%22Selenium%20v4%22
https://github.com/mastrolube
mastrolubehttps://github.com/mastrolube
on Apr 1, 2021https://github.com/appium/python-client/issues/597#issue-848849088
Selenium v4https://github.com/appium/python-client/issues?q=state%3Aopen%20label%3A%22Selenium%20v4%22
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.