​PageObject: Downloads

​Downloads are rendered as options <li> within an unsorted list <ul>. Each option consists of a title and a link to a file within an <a> tag.

If there is just one file in the download section, the <ul> will be replaced with a <div> tag, and the <li> tags are removed.

HTML example with multiple files (system generated)

<ul class="fx_po_download">
    <li><a href="/link/to/file1.pdf" download="title1">Title 1</a></li>
    <li><a href="/link/to/file2.pdf" download="title2">Title 2</a></li>

​HTML example with one file (system generated)

<div class="fx_po_download">
    <li><a href="/link/to/file.pdf" download="title">Title</a></li>
​This PageObject renders as block element.