Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Post your project for free and start receiving proposals from freelancers within minutes after publication!

Consultation on selecting the select option in the Botasaurus library in Python

Translated11 USD

  1. 711    4  0
    3 days11 USD

    I need to look at your code and test it. I am superficially familiar with Botasaurus, but I am well acquainted with Selenium, and since Botasaurus uses Selenium under the hood, the issue with selecting options is not new. I need to look at the code, test it, and check.

  2. 51  
    1 day11 USD

    The problem with Botasaurus is that its latest version uses the CDP protocol, which may have limitations when working with select elements. The main actions that can be tried to resolve this:

    1. **Direct interaction via JavaScript**: even if previous attempts through JS were unsuccessful, it might be worth trying more precise approaches to selecting options.
    ```python
    script = """
    document.querySelector('select#size-selector').value = 'desired-size';
    document.querySelector('select#material-selector').value = 'desired-material';
    """
    browser.execute_script(script)
    ```

    2. **Check element visibility**: if Botasaurus uses the CDP protocol, the elements may not be displayed or may be hidden. It is necessary to ensure that the options are visible and available for clicks.

    3. **Bypass through click emulation**: manually emulate key presses via CDP to select the desired values.

    4. **Switch to Selenium**: if Botasaurus encounters limitations with the new version, consider using Selenium for this stage. Direct control over the WebDriver will allow everything to be done by clicking on the elements.

    We can try these options to solve the problem, which will likely help fix the current situation.

  • Ivan Hrytskiv
    5 September 2024, 22:31 |

    Так це ж елементарно робиться. В офіційній документації є все вказано )))

  • Dmitry S.
    5 September 2024, 23:25 |

    Где?

  • Dmitry S.
    5 September 2024, 23:32 |

    Документацию уже 10 раз перечитал и кучу вариантов перепробовал.

Current freelance projects in the category Python

Calculate the location of the lost iPhone

56 USD

The phone was lost a day ago, the live location through the FIND MY app is no longer updating, the phone seems to be offline, lost mode is enabled. I need to determine the exact location of this device using some unconventional methods - I have tried everything available online…

PythonData Parsing ∙ 22 minutes back ∙ 2 proposals

Creation of a TikTok farm with income generation

602 USD

Looking for a person who can write software for a TikTok farm, so we can generate traffic and earn income. We are seeking a ready-made solution with a full cycle.

PythonBot Development ∙ 50 minutes back ∙ 3 proposals

AI Commenting Platform for TikTok and Instagram.

Project Goal Develop a system that allows managing a large number of TikTok and Instagram accounts and automatically posting relevant comments under selected videos using AI. Main Functionality1. Account Management It is necessary to implement the ability to connect accounts:…

AI & Machine LearningPython ∙ 1 day 8 hours back ∙ 18 proposals

Build a customer classification model

1. There is client data in Mongo/SQL (approximately 20,000 entries with raw data). 2. It is necessary to build features and a classification model of clients into behavioral groups based on this data. 3. The project should be completed in Python.

AI & Machine LearningPython ∙ 3 days 2 hours back ∙ 38 proposals

IT Automation of VAT Reporting

223 USD

It is necessary to develop a system for automating the transfer of sales data from the CRM to the accounting system Wafeq. The system should import bank and payment reports, automatically reconcile payments with invoices, generate invoices for VAT reporting, and minimize manual…

AI & Machine LearningPython ∙ 3 days 7 hours back ∙ 48 proposals

Client
Dmitry S.
Ukraine Ukraine  1  0
Project published
1 year back
51 views