Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 18, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 18, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 18, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 18, 2025

      New Xbox games launching this week, from May 19 through May 25 — Onimusha 2 remaster arrives

      May 18, 2025

      5 ways you can plug the widening AI skills gap at your business

      May 18, 2025

      I need to see more from Lenovo’s most affordable gaming desktop, because this isn’t good enough

      May 18, 2025

      Gears of War: Reloaded — Release date, price, and everything you need to know

      May 18, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      YTConverter™ lets you download YouTube videos/audio cleanly via terminal — especially great for Termux users.

      May 18, 2025
      Recent

      YTConverter™ lets you download YouTube videos/audio cleanly via terminal — especially great for Termux users.

      May 18, 2025

      NodeSource N|Solid Runtime Release – May 2025: Performance, Stability & the Final Update for v18

      May 17, 2025

      Big Changes at Meteor Software: Our Next Chapter

      May 17, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      New Xbox games launching this week, from May 19 through May 25 — Onimusha 2 remaster arrives

      May 18, 2025
      Recent

      New Xbox games launching this week, from May 19 through May 25 — Onimusha 2 remaster arrives

      May 18, 2025

      Windows 11 KB5058411 install fails, File Explorer issues (May 2025 Update)

      May 18, 2025

      Microsoft Edge could integrate Phi-4 mini to enable “on device” AI on Windows 11

      May 18, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Can Appium be used for web testing on a Mac with PyCharm?

    Can Appium be used for web testing on a Mac with PyCharm?

    August 5, 2024

    I wanted to automate my project, which has three parts:

    Web testing
    Ipad app
    Ios App

    I have started with the web testing, by following all the steps on appium.io and installed Appium Server, Appium-python-client, and pycharm professional.

    I have created my first test but I was not able to run it. I tried importing

    from appium.webdriver.common.desired_capabilitites

    but it throws the error:

    Cannot find reference ‘desired_capabilities’ in ‘__init__.py’

    this is the base case i have

    import unittest
    from typing import Dict

    from appium import webdriver
    from appium.options.common import AppiumOptions

    desired_caps = {
    ‘platformName’: ‘Mac’,
    ‘browserName’: ‘Chrome’,
    ‘appium:automationName’: ‘XCUITest’
    }

    options = AppiumOptions()
    # options.load_capabilities(desired_caps)

    url = ‘http://localhost:4723/wd/hub’
    driver = webdriver.Remote(url, desired_caps)
    driver.get(“hhtps://www.google.com”)

    element = element.send_keys(‘admin’)

    driver.quit()

    The code driver = webdriver.Remote(url, desired_caps) is asking for a [str,bool] value. How can I use desired_capabilities here?

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleJMeter Getting as Non HTTP response code: java.net.UnknownHostException/Non HTTP response message: in Azure Pipeline
    Next Article How are you testing configuration changes?

    Related Posts

    Development

    February 2025 Baseline monthly digest

    May 18, 2025
    Artificial Intelligence

    Markus Buehler receives 2025 Washington Award

    May 18, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    The essential role of ‘human testers’ in leveraging generative AI for software testing

    Tech & Work

    Windows 11 Microsoft Store tests Copilot integration to increase app downloads

    Operating Systems

    CVE-2025-3901 – Drupal Bootstrap Site Alert Cross-Site Scripting (XSS)

    Common Vulnerabilities and Exposures (CVEs)

    DeepSeek AI Introduces NSA: A Hardware-Aligned and Natively Trainable Sparse Attention Mechanism for Ultra-Fast Long-Context Training and Inference

    Machine Learning

    Highlights

    Artificial Intelligence

    Boring Newsletters Can Make Billions of Dollars? Billions with a B

    May 23, 2024

    AudioDreamz EcoSystem: The Future Awaits For You Inside! Your gateway to speak to imaginary characters,…

    IMI plc Confirms Cyberattack: Investigation Underway, Stock Drops 2.4%

    February 6, 2025

    Balancing discipline, time management, and effective communication presents ongoing challenges in parenting

    January 27, 2025

    Announcing Google DeepMind

    May 13, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.