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

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 ∙ 14 hours 25 minutes back ∙ 13 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 ∙ 2 days 8 hours back ∙ 33 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 ∙ 2 days 14 hours back ∙ 44 proposals

Account reconciliation tool with the bank, cards, and accountant

Technical Assignment: Tool for Reconciling Accounts with Bank, Cards, and AccountantGeneral Goal A local tool (script/small application in Python) is needed, which is manually run once every 1-2 months on my computer and performs reconciliation between: Invoices I issued to…

PythonDesktop Apps ∙ 3 days 2 hours back ∙ 42 proposals

Automatic video posting on social media according to a schedule

Technical Assignment (TA) Automatic video publication on social media according to a scheduleProject Description A script/bot (Python preferred, or any other solution of your choice — the main thing is stability and ease of maintenance) is needed, which automatically publishes…

PythonBot Development ∙ 3 days 14 hours back ∙ 59 proposals

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