Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Classnames changes causing no jobs to be found #950

Closed
kosamkarmansi opened this issue Nov 26, 2024 · 6 comments
Closed

[BUG]: Classnames changes causing no jobs to be found #950

kosamkarmansi opened this issue Nov 26, 2024 · 6 comments
Labels
bug Something isn't working stale

Comments

@kosamkarmansi
Copy link

kosamkarmansi commented Nov 26, 2024

Describe the bug

Unable to locate element - "scaffold-layout__list-container"

Steps to reproduce

image image

Expected behavior

Should select a job

Actual behavior

Isnt able to select a job

Branch

main

Branch name

main

Python version

3.10.10

LLM Used

chatgpt

Model used

No response

Additional context

similar to issue 919 - #919

@kosamkarmansi kosamkarmansi added the bug Something isn't working label Nov 26, 2024
@ShawNova
Copy link

same issue with chrome version: chrome=131.0.6778.86
my error logs:
self.driver.find_element(By.XPATH, jobs_xpath_query)
Traceback (most recent call last):
File "\anaconda3\envs\aihawk\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 831, in find_element
return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
\anaconda3\envs\aihawk\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "***\anaconda3\envs\aihawk\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//ul[contains(@Class, 'scaffold-layout__list-container')]"}
(Session info: chrome=131.0.6778.86)
Stacktrace:
GetHandleVerifier [0x002D33E3+25059]
(No symbol) [0x0025CDE4]
(No symbol) [0x0013BEC3]
(No symbol) [0x0017FD86]
(No symbol) [0x0017FFCB]
(No symbol) [0x001BD952]
(No symbol) [0x001A1F44]
(No symbol) [0x001BB51E]
(No symbol) [0x001A1C96]
(No symbol) [0x00173FAC]
(No symbol) [0x00174F3D]
GetHandleVerifier [0x005C5543+3113795]
GetHandleVerifier [0x005DA20A+3198986]
GetHandleVerifier [0x005D29E2+3168226]
GetHandleVerifier [0x00373250+680016]
(No symbol) [0x0026572D]
(No symbol) [0x002629D8]
(No symbol) [0x00262B75]
(No symbol) [0x002557D0]
BaseThreadInitThunk [0x76227BA9+25]
RtlInitializeExceptionChain [0x7737C0CB+107]
RtlClearBits [0x7737C04F+191]
(No symbol) [0x00000000]

Not working with iframe checked as below:
iframe = self.driver.find_element(By.TAG_NAME, 'iframe')
self.driver.switch_to.frame(iframe)
jobs_container = self.driver.find_element(By.XPATH, jobs_xpath_query)

@ShawNova
Copy link

Does anyone get a clue what the new class lable refers to?
Snipaste_2024-11-26_18-45-14

@joelfuller2016
Copy link

my opinion is use AI to pass the entire page and have the output into a useable data source. then have each job pass back into AI then it will provide the button to push. Easy peazy done. Ive used C# to build structured outputs. its all json.

https://platform.openai.com/docs/guides/structured-outputs

@hasnainhakim
Copy link

Any update on this ?

Copy link

github-actions bot commented Dec 8, 2024

This issue has been marked as stale due to inactivity. Please comment or update if this is still relevant.

@github-actions github-actions bot added the stale label Dec 8, 2024
Copy link

This issue was closed due to prolonged inactivity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

4 participants