Calling function on a separate page than current in Javascript [duplicate]

This question already has an answer here: jquery- get different page elements 3 answers I have a function that I’m running in a browser console. function answer(){ console.log(document.querySelector(“#qti-choiceinteraction-container > tbody > tr.checkedrow > td.answer > div > label > span > p”)); } Clearly, it is printing some text from an element on the page…

Details

Text padding is not working in floated div

Okay so I have a floated div, within it I have a unorganised list. <div class=”navigation-nav” id=”navigation-nav”> <ul class=”navigation-list”> <li class=”navigation-item”><a class=”navigation-link current” href=”#”>Home</a></li> <li class=”navigation-item”><a class=”navigation-link” href=”#about”>About</a></li> <li class=”navigation-item”><a class=”navigation-link” href=”projects.html”>Projects</a></li> <li class=”navigation-item”><a class=”navigation-link” href=”#collage”>Collage</a></li> </ul> </div> Now if I try to change the padding or margin on either navigation-item or navigation-link it will…

Details

set value to the td using class name in python selenium

My td contains <tbody id=”gridview-1161-body”> <tr id=”gridview-1161-record-19832230″ data-boundview=”gridview-1161″ data-recordid=”19832230″ data-recordindex=”2″ class=”x-grid-row x-grid-data-row” tabindex=”-1″> #supplier item <td role=”gridcell” class=”x-grid-cell x-grid-td x-grid-cell-headerId-gridcolumn-1154″ id=”ext-gen2524″> <div class=”x-grid-cell-inner ” style=”text-align:left;”> <div class=”rp-invalid-cell rp-icon-alert-require-field”></div>xxx/div></td> #id <td role=”gridcell” class=”x-grid-cell x-grid-td x-grid-cell-headerId-gridcolumn-1156″ id=”ext-gen2526″> <div class=”x-grid-cell-inner ” style=”text-align:left;”> <div class=”rp-invalid-cell rp-icon-alert-require-field”></div>yy</div></td> #cost <td role=”gridcell” class=”x-grid-cell x-grid-td x-grid-cell-headerId-gridcolumn-1157″ id=”ext-gen2527″> <div class=”x-grid-cell-inner ” style=”text-align:right;”> <div class=”rp-invalid-cell…

Details