Questions tagged [htmlelements]

Html Elements is a Java framework providing easy-to-use way of interaction with web-page elements in ui web tests.

Html Elements is a Java (actually there are .NET and php implementations) framework providing easy-to-use way of interaction with web-page elements in web-page tests. With the help of the Html Elements framework you can group web-page elements into blocks, encapsulate logic of interaction within them and then easily use created blocks in page objects.

You can find useful documentation and examples in project repository https://github.com/yandex-qatools/htmlelements

140 questions
3
votes
1 answer

In some cases there is no action on the web elements, which available only after load form completely

I use htmlelements pattern, similar on pagefactory. Search for elements going through the @FindBy. With some elements can not perform the action (click, sendkeys...), because form on the page is not fully to load and does not appear to perform an…
BCR
  • 61
  • 6
3
votes
3 answers

How to get value from the table?

BCR
  • 61
  • 6
3
votes
1 answer

How can I get an HtmlElementCollection from a WPF WebBrowser

My old WinForm application used HtmlElementCollection to process a page HtmlElementCollection hec = this.webbrowser.Document.GetElementsByTagName("input"); In WPF WebBrowser, there are several things that are different. For…
software is fun
  • 7,286
  • 18
  • 71
  • 129
3
votes
1 answer

Create a java script function in c#

I'm developing a winform application and I want to use the google api v3 to calculate the barycenter of a polygon. and I have the lng and lat in my database. I want to call a java script function in c# I'm new but I found that using HtmlElement can…
3
votes
1 answer

HTMLElements: element search timeout

It seems that HTMLElements by default waits for element during 5 seconds. Is there any way to change this default timeout duration?
vania-pooh
  • 2,933
  • 4
  • 24
  • 42
3
votes
2 answers

Is it possible to get instance of driver inside HtmlBlock in HtmlElements?

I'm using the HtmlElements (https://github.com/yandex-qatools/htmlelements) framework for my Java webtests. Is it possible to get an instance of webdriver inside HtmlBlock? For example, implement extra logic in some fields or implement a function to…
2
votes
1 answer

Extracting repeated class with rvest html_elements in R

how are you? I am trying to extract some info about this sportbetting webpage using rvest. I asked a related question a few days ago and i get almost 100% of my goals. So far , and thanks to you, extracted succesfully the title, the score and the…
Emiliano Barone
  • 303
  • 2
  • 11
2
votes
0 answers

Detached HTMLElements in angular apps and memory leaks

So, we have an angular app (v12) that is experiencing memory leaks (sluggish over time). We are using the MS Edge detached elements dev tool to see what is happening and provide some visibility which is great. However it's giving us a heap of…
2
votes
3 answers

Adding types to HTMLElements working with Svelte and TypeScript

I'm working with Svelte and typescript, and I'd like to add type definitions to the html elements I'm referencing. For example I have something like this: