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

Support for the test.ai ML element locator #2676

Open
rakeshnambiar opened this issue Jan 26, 2022 · 12 comments
Open

Support for the test.ai ML element locator #2676

rakeshnambiar opened this issue Jan 26, 2022 · 12 comments

Comments

@rakeshnambiar
Copy link

rakeshnambiar commented Jan 26, 2022

Support for the test.ai ML element locator.

Details are available below:

https://jarbon.medium.com/selenium-selectors-that-suck-less-1632ad11f2a4
support for the test.ai ML element locator

In order to make use of this utility we have to :

  • An option to pass the API key to the driver which can read from the config file
    driver = test_ai.TestAIDriver(driver, “API_KEY”)

  • An extra field for each element to pass a unique name along with the locator
    driver.find_element_by_css_selector("input.countrycode", element_name='elem_country_code')

@rakeshnambiar rakeshnambiar changed the title Support for the test.ai ML element locator Support for the test.ai ML element locator Jan 26, 2022
@ricardorlg
Copy link
Contributor

I could take this, as soon as the test.ai java library for this is released.

@rakeshnambiar
Copy link
Author

@ricardorlg Here's the some useful links shared by test.ai

Java Selenium SDK & Demo project

I shared this ticket details with Chris and his team at test.ai for a better collaboration.

@ricardorlg
Copy link
Contributor

Hi thanks, I was checking the SDK and demo, it looks to me that initially, I will add support for Screenplay, @wakaleo can u assign me this, as far as I see, the most complex part will be to allow Target resolver strategy to use the custom driver provided by test.ai

@rakeshnambiar
Copy link
Author

@wakaleo @ricardorlg Please can we make some progress with this?

@wakaleo
Copy link
Member

wakaleo commented Mar 13, 2022

@rakeshnambiar there is no SLA for open source bug fixes, or even any guarantee that a particular ticket will be addressed (remember, you are asking folk to volunteer their personal and family time to do work for you). If this feature is important to you, and you would like it to progress faster, you have a few options:

  1. You can do the work yourself (or pay someone to do it for you) and raise a pull request;
  2. You can get your company to purchase a commercial support package (there are several options available that I can provide you with offline if you would like to explore this option)
  3. Alternatively, since this is integration with a commercial product, you could ask the vendor (test.ai) to sponsor this work.

@ricardorlg
Copy link
Contributor

I'm working on this in my free time, I don't have an estimated time to finish, It will be ready when it's ready.

@rakeshnambiar
Copy link
Author

rakeshnambiar commented Mar 15, 2022

Hi @wakaleo @ricardorlg thanks for letting me know the situation. I have also asked the test.ai in case they are willing with option#3. Considering @ricardorlg already working on it in parallel, better I will wait.

@rakeshnambiar
Copy link
Author

@ricardorlg I knew you are busy with many things and appreciate your efforts. Just wanted to follow-up with the latest status of this request.

@wakaleo
Copy link
Member

wakaleo commented Jul 15, 2022

If test.ai would like to implement an integration, or fund some work (through either commercial support package or sponsoring for example), that would probably be the fastest way to get this feature implemented.

@rakeshnambiar
Copy link
Author

@cnavrides @alexander-wu-aw Please could you able to help with it?

@cnavrides
Copy link

@rakeshnambiar yes we can add an item to our board to look into this integration

@rakeshnambiar
Copy link
Author

@cnavrides Thanks a lot for your support. I created the issue here dev-tools-ai/java-selenium-sdk#1 Let me know in case there's a separate board available to log such requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants