U.S. border agents are searching nearly four times as many international travelers’ smartphones and other electronic devices as they did two years ago, expanding the use of a little-known search-and-seizure authority that has sparked fresh legal challenges from digital rights advocates and defendants in several criminal cases. CBP agents are allowed to seize devices and copy their content for on-site or off-site forensic tests, which can take weeks and sometimes months and yield personal data, sometimes in large quantities. In one case, a forensic test performed on a cellphone generated enough information to “fill 896 printed pages.”