Giter Club home page Giter Club logo

Comments (2)

haasr avatar haasr commented on August 16, 2024

Hello, when I conducted the testing before the version change, I tested with the --headless argument removed. It seems that on the newer version, Selenium is only working as expected when the --headless flag is not used. Your code also failed once I added --headless to it:

selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"[id="text-input-what"]"}

My two options would be to roll back to the Python 3.11 version or leave the Python 3.12 version without headless support. I'm going to just keep the 3.12 version for now. My reasoning is that the move from Python 3.11 to 3.12 also caused an unexpected change when using pandas ExcelWriter. It was no longer creating the workbook file correctly because of an exception from openpyxl. I decided to switch the engine to xlsxwriter and it works as expected. I'm afraid if I revert back to the Python 3.11 version, then when I inevitably go to upgrade the Python version in the future, I will have to deal with different behavior of certain packages anyway, so I'm inclined to forego the ability to use it in headless mode to keep the core features intact and keep it current.

from indeed-jobs-searcher.

haasr avatar haasr commented on August 16, 2024

Removed headless option (commit 1e4dda1). I would like to add it in a future version once I understand it better.

from indeed-jobs-searcher.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.