Etymology
Today it means: While fainting; so as to faint. Full definition →
From fainting + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.