toggleExpandable
toggleExpandable(objectOrName)
This function clicks the objectOrName
expandable section header web element (or raises an exception if the objectOrName
isn't of type HTML_ExpandableSectionHeader Class). The click causes the expandable section to change its state to be expanded (if it isn't currently expanded) or to be unexpanded (if it is currently expanded). This function does the equivalent of clicking the mouse on the expandable section header, but without the need for (potentially unreliable) coordinates.
Expandable sections are sometimes called "accordions" or "toolboxes". (See also Expandable Section Header Support.)
© 2024 The Qt Company Ltd.
Documentation contributions included herein are the copyrights of
their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property
of their respective owners.