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

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 9, 2025

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

      May 9, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 9, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 9, 2025

      This Motorola Razr deal at Best Buy is the top offer I’ve seen on the flip phone

      May 9, 2025

      Google Maps can identify and save places in your screenshots – here’s how

      May 9, 2025

      T-Mobile is giving loyal users a free line right now – how to see if you qualify

      May 9, 2025

      CTA warns of tariff-fueled price hikes on consumer tech – but it’s not all bad news

      May 9, 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

      Big Node, VS Code, and Mantine updates

      May 9, 2025
      Recent

      Big Node, VS Code, and Mantine updates

      May 9, 2025

      Prepare for Contact Center Week with Colleen Eager

      May 9, 2025

      Preparing for the Unthinkable: Safeguarding People and Productivity During India-Pakistan Conflicts

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

      Microsoft confirms Offline Calendar for New Outlook on Windows 11

      May 9, 2025
      Recent

      Microsoft confirms Offline Calendar for New Outlook on Windows 11

      May 9, 2025

      Windows 11 Microsoft Store tests Copilot integration to increase app downloads

      May 9, 2025

      Beyond APT: Software Management with Flatpak on Ubuntu

      May 9, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Artificial Intelligence»Last Week in AI #302 – QwQ 32B, OpenAI injunction refused, Alexa Plus

    Last Week in AI #302 – QwQ 32B, OpenAI injunction refused, Alexa Plus

    May 9, 2025

    Top News

    Alibaba’s New QwQ 32B Model is as Good as DeepSeek-R1 ; Outperforms OpenAI’s o1-mini

    A Guide to Reasoning with Qwen QwQ 32B - Groq is Fast AI Inference

    Alibaba has announced a new AI model, QwQ 32B, under its Qwen umbrella, which contains 32 billion parameters and is said to perform comparably to DeepSeek-R1, a model with 671 billion parameters. The success of the QwQ 32B model is attributed to the application o…


    Read more

    Source: Read More 

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleLWiAI Podcast #202 – Qwen-32B, Anthropic’s $3.5 billion, LLM Cognitive Behaviors
    Next Article Robotic helper making mistakes? Just nudge it in the right direction

    Related Posts

    Artificial Intelligence

    Markus Buehler receives 2025 Washington Award

    May 9, 2025
    Artificial Intelligence

    LWiAI Podcast #201 – GPT 4.5, Sonnet 3.7, Grok 3, Phi 4

    May 9, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    Your Facebook & Instagram feeds may soon be filled with AI bots in the future

    Development

    Separating Fact from Logic: Test of Time ToT Benchmark Isolates Reasoning Skills in LLMs for Improved Temporal Understanding

    Development

    Should you buy a cheap robot vacuum? This $400 model proves it might even be a great idea

    News & Updates

    The Best Practices for Managing Your Client’s Sites

    Web Development

    Highlights

    Development

    Selenium and Python – How to click submit button

    May 7, 2024

    This is the source code of the webpage ( https://eu.luxpowertek.com/WManage/web/login ) I am trying to login in and click the submit button.
    <div id=”loginFormContainer” style=”margin: 0 auto; width: 450px; position: relative;”>
    <form id=”loginHolder” action=”/WManage/web/login” method=”post”>
    <h2 class=”title” style=”text-align: center; margin-top: 0;”>
    Monitor Center
    </h2>
    <div class=”form-horizontal” style=”padding: 10px 10px 0 10px;”>

    <div class=”form-group”>
    <div class=”input-group col-sm-12″>
    <span class=”input-group-addon” style=”width: 45px;”><img src=”https://resource.solarcloudsystem.com/WManage/web/img/format/icons/user.png?v=2.0.4.4″ height=”16″ /></span>
    <input type=”text” class=”form-control input-lg” id=”account” name=”account” value=”” maxLength=”30″ autofocus autocomplete=”off” placeholder=”Please enter username”>
    </div>
    </div>
    <div class=”form-group” style=”margin-bottom: 10px;”>
    <div class=”input-group col-sm-12″>
    <span class=”input-group-addon” style=”width: 45px;”><img src=”https://resource.solarcloudsystem.com/WManage/web/img/format/icons/key.png?v=2.0.4.4″ height=”16″ /></span>
    <input type=”password” class=”form-control input-lg” id=”password” name=”password” maxLength=”50″ placeholder=”Please enter password”>
    </div>

    </div>

    <div style=”width: 100%; margin-bottom: 10px;”>
    <a href=”forgetPassword” style=”float: right; color: inherit;” target=”_blank”>Forget password?</a>
    <div style=”clear: both;”></div>
    </div>

    <div class=”form-group”>
    <button type=”submit” class=”btn btn-lg btn-success” style=”width: calc(100% – 115px); margin-right: 5px;”>Sign in</button>
    <a class=”btn btn-lg btn-default” style=”width: 106px;” href=”/WManage/web/register”>Register</a>
    </div>

    <div class=”form-group” style=”margin-bottom: 5px;”>

    <a href=”/WManage/web/login/viewDemoPlant?customCompany=” type=”button” class=”btn btn-lg btn-success” style=”width: calc(100% – 115px); margin-right: 5px;”>Visit demo station</a>

    <a class=”btn btn-lg btn-default” style=”width: 106px;” href=”/WManage/web/warranty/register”>Warranty</a>
    </div>
    </div>
    </form>
    </div>

    Here is my python code with all the various different ways I have tried so far to click the button. The username and password are just dummy code in this sample.
    from selenium import webdriver
    from selenium.webdriver.common.by import By
    from selenium.webdriver.chrome.service import Service
    service = Service(‘/usr/bin/chromedriver’)

    driver = webdriver.Chrome(service=service)
    driver.get(‘https://eu.luxpowertek.com/WManage/web/login’)

    username = “uyuytuyreue745@mygmail.com”
    password = “kinghferyrt”

    # find username/email field and send the username itself to the input field
    driver.find_element(“id”, “account”).send_keys(username)
    # find password input field and insert password as well
    driver.find_element(“id”, “password”).send_keys(password)
    # click login button
    driver.find_element(By.XPATH(“(//button[contains(text(),’Sign In’)])[2]”));

    So the actual submit button has no ID and this is where I think I am getting confues will all the different ways of selecting it like by Selector, By XPATH by.xxxxx etc
    Sign in
    Any help would be most appreciated, also it appears that the code syntax of selenium has changed over the years as many code samples I have found do not work any more like driver.find_element_by_xpath which is now (I believe) driver.find_element(By.XPATH,xxxx)

    The vCISO Academy: Transforming MSPs and MSSPs into Cybersecurity Powerhouses

    November 8, 2024

    Ripple NPM supply chain attack hunts for private keys

    April 23, 2025

    Why scammers want your phone number

    August 14, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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