Stocks settled higher after a choppy session. Indexes had veered between losses and gains for much of the day as former FBI director James Comey testified before the Senate. During his hours-long appearance, Comey said the White House had lied in the aftermath of his firing. Yahoo!  (YHOO) rose after its shareholders approved the company's sale to Verizon (VZ) . The latter will reportedly cut around 15% of the Yahoo! and AOL workforce following the deal's closure. Snap  (SNAP) tumbled after Nomura analysts warned of slowing daily active user growth. The firm said worldwide downloads of the app had fallen 22% in the first two months of its second quarter compared to a year earlier. Alibaba  (BABA) climbed after forecasting another massive surge in full year revenue. China's biggest e-commerce company anticipated annual sales up at least 45% in fiscal 2018.

More from Video

A Guide to Investing in the Fast-Emerging Cannabis Industry

A Guide to Investing in the Fast-Emerging Cannabis Industry

Data Regulation on FAANG's Could Just Be Underway: Cramer's Investing Teach-in

Data Regulation on FAANG's Could Just Be Underway: Cramer's Investing Teach-in

IBM VP of Threat Intelligence on The Steps to Take After a Cyber Attack

IBM VP of Threat Intelligence on The Steps to Take After a Cyber Attack

Jim Cramer Dives Into Cannabis and IBM Earnings

Jim Cramer Dives Into Cannabis and IBM Earnings

How to Be a Tactical Investor in the Current Market

How to Be a Tactical Investor in the Current Market