First off, I appreciate all of your time in reviewing and potentially responding to my inquiry.
I have a webpage that loads a modal that is longer than the page displays requiring me to scroll down to get the second screenshot. I have not been able to programmatically scroll the modal despite numerous attempts.
I have tried parentwindow.scrollby and .scrollto as well as sendkeys and automating the scrollbar=bottom. None of these attempts move the modal. To be clear - there is only one scrollbar for the page, not a second scrollbar embedded just for the modal.
I have copied what I thought is the relevant HTML from the page/modal. I would greatly appreciate any insight or suggestions from the experts here.
Thank you!
<div class="modal fade in" role="dialog" aria-labelledby="ShowApplicationModal" id="ShowApplicationModal" data-keyboard="false" data-backdrop="static" style="display: block; padding-left: 17px;">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header modal-header-primary">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="gridSystemModalLabel">Initiation Form</h4>
</div>
<div class="modal-body">
..........
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-bind="visible: IsLoading() == false" data-dismiss="modal" style="">Close</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div>
I have a webpage that loads a modal that is longer than the page displays requiring me to scroll down to get the second screenshot. I have not been able to programmatically scroll the modal despite numerous attempts.
I have tried parentwindow.scrollby and .scrollto as well as sendkeys and automating the scrollbar=bottom. None of these attempts move the modal. To be clear - there is only one scrollbar for the page, not a second scrollbar embedded just for the modal.
I have copied what I thought is the relevant HTML from the page/modal. I would greatly appreciate any insight or suggestions from the experts here.
Thank you!
<div class="modal fade in" role="dialog" aria-labelledby="ShowApplicationModal" id="ShowApplicationModal" data-keyboard="false" data-backdrop="static" style="display: block; padding-left: 17px;">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header modal-header-primary">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="gridSystemModalLabel">Initiation Form</h4>
</div>
<div class="modal-body">
..........
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-bind="visible: IsLoading() == false" data-dismiss="modal" style="">Close</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div>