[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [actf-dev] Dynamic Contents in ACTF
|
Hi Elgin,
Sorry for this late reply.
>In order to decide on whether I should segment a dynamic contents, I need
to detect these contents which are generally invisible in initial page
load and become visible after a certain event, or loaded with an AJAX
call.
Would you please try APIs below?
- IWebBrowser#getLiveDocument()
- IWebBrowser#getStyleInfo().getCurrentStyles()
These APIs provide access to current DOM and style information in
WebBrowser (IE). So, you can access to such kind of data at your preferred
timing (e.g., after a certain event, or page loaded, etc.).
As for DOM events, it is difficult to directly access to these events from
ACTF. However, you might be able to do it through JavaScript. For example,
1. Inject a JavaScript that monitors/observes DOM events, style info,
etc..
2. By using APIs of JavaScript that injected in step 1, obtain the event
status, etc..
I'll prepare a sample application for it after we complete the Kepler
release work.
Best regards,
Kentarou
---
Kentarou Fukuda, Ph.D.
IBM Research - Tokyo
Tel: +81-3-5144-2852
E-mail: kentarou@xxxxxxxxxx
From: Elgin Akp?nar <elgin.akpinar@xxxxxxxxxxx>
To: actf-dev@xxxxxxxxxxx
Date: 2013/05/16 05:47
Subject: [actf-dev] Dynamic Contents in ACTF
Sent by: actf-dev-bounces@xxxxxxxxxxx
Hi everyone,
I have been working on extending the segmentation algorithm in ACTF by
implementing dynamic web contents, such as carousels. In order to decide
on whether I should segment a dynamic contents, I need to detect these
contents which are generally invisible in initial page load and become
visible after a certain event, or loaded with an AJAX call. Although I can
reach the CSS attributes for each node, I cannot retrieve the attributes
which are bind in Javascript codes, probably due to the fact that,
Internet Explorer is not capable of providing these events for nodes (?).
Any idea on how to detect the event attributes which are bind in
Javascript in ACTF?
Thanks in advance,
Best regards,
Elgin_______________________________________________
actf-dev mailing list
actf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/actf-dev