I am accessing a webpage where a Dialogue box initally appears with typical EULA info in it, with just an "OK" button on it. I'm trying to use Sendkeys to send an <ENTER> command so that the window will close and the webpage will continue to load. It's not working though. I think I might need to shift the focus to it? Anyone know how to close those annoying OK Dialogue boxes? Thanks!
Here's the script code that is causing me the problem:
Code:
<html>
<script>alert(" \xA9 1998 - 2005 Lewtan Technologies, Inc.\n\nThe information and data contained on this screen is derived from sources considered reliable, but Lewtan and its suppliers do not guarantee its correctness or completeness.
The user is solely responsible for the accuracy and adequacy of any information used by it and the resultant output thereof, and Lewtan and its suppliers disclaim any and all liability therefore.
Some information contained in ABSNet(tm) is also copyrighted (\xA9 1998-2000) by Standard & Poor's, a division of The McGraw-Hill Companies, Inc.
While this information is based on sources considered reliable, neither Standard & Poor's nor its affiliates guarantees the accuracy, adequacy, or completeness of the information and they are not responsible for errors, omissions re results obtained from use of the information.
Standard & Poor's receives compensation for ratings.
Such compensation is based on the time and effort to determine the rating and is normally paid either by the issuers of securities
or by the underwriters participating in the distribution thereof.
The fees generally vary from $2,500 to $100,000.
While Standard & Poor's reserves the right to disseminate the rating, it receives no payment for doing so, except for subscriptions to its publications.
\n\nIn the event that any of this data is exported for further use, this disclaimer must accompany it.")</script>
<head>